Fix support and hole point reprojection after reload and netfabb

This commit is contained in:
tamasmeszaros 2020-06-10 14:16:11 +02:00
parent f23a275fbb
commit f53289ae2d
2 changed files with 14 additions and 6 deletions

View file

@ -97,7 +97,7 @@ std::unique_ptr<TriangleMesh> generate_interior(const TriangleMesh & mesh,
_generate_interior(mesh, ctl, hc.min_thickness, voxel_scale,
hc.closing_distance));
if (meshptr) {
if (meshptr && !meshptr->empty()) {
// This flips the normals to be outward facing...
meshptr->require_shared_vertices();