Lay flat gizmo improvements - merge adjacent faces, compute and cache convex hull for entire ModelObject, refresh when moved, etc.

This commit is contained in:
Lukas Matena 2018-08-17 15:40:47 +02:00
parent 48b9793d3d
commit f9efcc36b6
5 changed files with 256 additions and 98 deletions

View file

@ -728,6 +728,7 @@ TriangleMesh TriangleMesh::convex_hull_3d() const
TriangleMesh output_mesh(det_vertices, facets);
output_mesh.repair();
output_mesh.require_shared_vertices();
return output_mesh;
}