From afbc4a4cf2e71d11885f9a7d449df3deaa4eaf2b Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 6 Jan 2020 09:36:03 +0100 Subject: [PATCH] Fixing perl bindings after refactoring --- xs/xsp/Layer.xsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/xsp/Layer.xsp b/xs/xsp/Layer.xsp index 6f3164707..6ca953f82 100644 --- a/xs/xsp/Layer.xsp +++ b/xs/xsp/Layer.xsp @@ -61,7 +61,7 @@ Ref add_region(PrintRegion* print_region); ExPolygonCollection* slices() - %code%{ RETVAL = new ExPolygonCollection(THIS->slices); %}; + %code%{ RETVAL = new ExPolygonCollection(THIS->lslices); %}; int ptr() %code%{ RETVAL = (int)(intptr_t)THIS; %}; @@ -110,7 +110,7 @@ Ref add_region(PrintRegion* print_region); ExPolygonCollection* slices() - %code%{ RETVAL = new ExPolygonCollection(THIS->slices); %}; + %code%{ RETVAL = new ExPolygonCollection(THIS->lslices); %}; void export_region_slices_to_svg(const char *path); void export_region_fill_surfaces_to_svg(const char *path);