Fix missing initialization in TriangleMesh constructor

This commit is contained in:
Lukáš Hejl 2020-09-08 11:48:24 +02:00
parent 70cb67430c
commit e55d184a7d

View File

@ -70,7 +70,7 @@ TriangleMesh::TriangleMesh(const Pointf3s &points, const std::vector<Vec3i> &fac
stl_get_size(&stl); stl_get_size(&stl);
} }
TriangleMesh::TriangleMesh(const indexed_triangle_set &M) TriangleMesh::TriangleMesh(const indexed_triangle_set &M) : repaired(false)
{ {
stl.stats.type = inmemory; stl.stats.type = inmemory;