Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-05-05 17:21:55 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-05-05 17:21:55 +0300
commit714149dab2466e5f1a9e26a0efa0b3daaf425d89 (patch)
tree1f1ff628c56553fc5495f5a78acaad15e069519c /xs
parentd21b9aa089e23d347b1c4b7e15eee92708c9bdd9 (diff)
WIP: Moving ownership of PrintRegions to PrintObjects.
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/Print.xsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp
index a7b4e562f..6ac387b60 100644
--- a/xs/xsp/Print.xsp
+++ b/xs/xsp/Print.xsp
@@ -98,9 +98,9 @@ _constant()
%code%{ RETVAL = THIS->objects().size(); %};
PrintRegionPtrs* regions()
- %code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->regions_mutable()); %};
+ %code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->print_regions_mutable()); %};
Ref<PrintRegion> get_region(int idx)
- %code%{ RETVAL = THIS->regions_mutable()[idx]; %};
+ %code%{ RETVAL = THIS->print_regions_mutable()[idx]; %};
size_t region_count()
%code%{ RETVAL = THIS->regions().size(); %};