diff options
author | bubnikv <bubnikv@gmail.com> | 2019-06-05 10:54:52 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-06-05 10:54:52 +0300 |
commit | c7ba48a4735cb2f6e98b56999a1b5d7476bde0fb (patch) | |
tree | 87da478f2a9c8faea7c1fb7a4ba697e67bf28029 /xs | |
parent | 8da54139c463a09ec899a9df6bccae16802dccdf (diff) |
Fix of perl bindings
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/TriangleMesh.xsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/TriangleMesh.xsp b/xs/xsp/TriangleMesh.xsp index e519f9210..a188e0b8d 100644 --- a/xs/xsp/TriangleMesh.xsp +++ b/xs/xsp/TriangleMesh.xsp @@ -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 |