SLA gizmo now does not make redundant copies of the object and supports meshes

This commit is contained in:
Lukas Matena 2019-04-15 22:24:10 +02:00
parent f33e9bf609
commit 63ce3c3150
3 changed files with 16 additions and 12 deletions

View file

@ -817,6 +817,10 @@ public:
meshcache = mesh(merged);
// The mesh will be passed by const-pointer to TriangleMeshSlicer,
// which will need this.
meshcache.require_shared_vertices();
// TODO: Is this necessary?
//meshcache.repair();