Fixed import of volumes from .amf

This commit is contained in:
Enrico Turri 2019-01-25 12:58:55 +01:00
parent 9d51348272
commit 533e1feac3
2 changed files with 2 additions and 1 deletions

View file

@ -528,6 +528,7 @@ void AMFParserContext::endElement(const char * /* name */)
}
stl_get_size(&stl);
m_volume->mesh.repair();
m_volume->center_geometry();
m_volume->calculate_convex_hull();
m_volume_facets.clear();
m_volume = nullptr;