mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
WIP: Moving ownership of PrintRegions to PrintObjects.
This commit is contained in:
1 parent
d21b9aa089
commit
714149dab2
9 files changed
+184
-175
No files matched your search
+2
-2
@@ -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(); %};
|
||||
|
||||
|
||||
Reference in new issue
Block a user