Fixed unit tests broken with the previous commit (Spiral Vase fix).

Fixed a crash in the previous commit.
This commit is contained in:
bubnikv committed 2020-02-09 09:43:15 +01:00
1 parent 76433da64c
commit e7d2fcf0be
6 files changed
+53 -49

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ TriangleMesh::slice(z)
std::vector<ExPolygons> layers;
TriangleMeshSlicer mslicer(THIS);
mslicer.slice(z_f, 0.049f, &layers, [](){});
mslicer.slice(z_f, SlicingMode::Regular, 0.049f, &layers, [](){});
AV* layers_av = newAV();
size_t len = layers.size();