mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 11:32:53 +00:00
Fixed rendering of caps in sla preview
This commit is contained in:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user