mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06:00
Fixed rendering of caps in sla preview
This commit is contained in:
parent
ed8b03a6d8
commit
9e952c9122
2 changed files with 154 additions and 124 deletions
|
@ -701,8 +701,14 @@ private:
|
|||
|
||||
struct SlaCap
|
||||
{
|
||||
struct Triangles
|
||||
{
|
||||
Pointf3s object;
|
||||
Pointf3s suppports;
|
||||
};
|
||||
typedef std::map<unsigned int, Triangles> ObjectIdToTrianglesMap;
|
||||
double z;
|
||||
Pointf3s triangles;
|
||||
ObjectIdToTrianglesMap triangles;
|
||||
|
||||
SlaCap() { reset(); }
|
||||
void reset() { z = DBL_MAX; triangles.clear(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue