From 2414dab85a4bc53f27055e93954a7b29c5729855 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 19 Sep 2019 14:31:50 +0200 Subject: [PATCH] Fix of perl bindings --- xs/xsp/ExtrusionEntityCollection.xsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xs/xsp/ExtrusionEntityCollection.xsp b/xs/xsp/ExtrusionEntityCollection.xsp index a868ea6bb..1f16ae3d4 100644 --- a/xs/xsp/ExtrusionEntityCollection.xsp +++ b/xs/xsp/ExtrusionEntityCollection.xsp @@ -31,13 +31,11 @@ ExtrusionEntityCollection* flatten() %code{% RETVAL = new ExtrusionEntityCollection(); - THIS->flatten(RETVAL); + *RETVAL = THIS->flatten(); %}; double min_mm3_per_mm(); bool empty() %code{% RETVAL = THIS->entities.empty(); %}; - std::vector orig_indices() - %code{% RETVAL = THIS->orig_indices; %}; Polygons polygons_covered_by_width(); Polygons polygons_covered_by_spacing(); %{