1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fix of perl bindings

This commit is contained in:
bubnikv
2019-06-05 09:54:52 +02:00
parent 8da54139c4
commit c7ba48a473
+2 -2
View File
@@ -100,7 +100,7 @@ TriangleMesh::vertices()
CODE:
if (!THIS->repaired) CONFESS("vertices() requires repair()");
if (THIS->stl.v_shared == NULL)
if (THIS->stl.v_shared.empty())
stl_generate_shared_vertices(&(THIS->stl));
// vertices
@@ -124,7 +124,7 @@ TriangleMesh::facets()
CODE:
if (!THIS->repaired) CONFESS("facets() requires repair()");
if (THIS->stl.v_shared == NULL)
if (THIS->stl.v_shared.empty())
stl_generate_shared_vertices(&(THIS->stl));
// facets