WIP: Admesh - replacement of C memory allocation with std vectors

This commit is contained in:
bubnikv 2019-06-04 22:06:42 +02:00
parent 3ab886b747
commit 8da54139c4
17 changed files with 450 additions and 585 deletions

View file

@ -1885,7 +1885,7 @@ namespace Slic3r {
volume->mesh.repair();
stl_file& stl = volume->mesh.stl;
if (stl.v_shared == nullptr)
if (stl.v_shared.empty())
stl_generate_shared_vertices(&stl);
if (stl.stats.shared_vertices == 0)