mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 07:11:12 -06:00
Return Surface->expolygon by reference
This commit is contained in:
parent
828785312e
commit
bb45437526
3 changed files with 14 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
%name{Slic3r::Surface} class Surface {
|
||||
~Surface();
|
||||
ExPolygon* expolygon()
|
||||
%code{% const char* CLASS = "Slic3r::ExPolygon"; RETVAL = new ExPolygon(THIS->expolygon); %};
|
||||
%code{% const char* CLASS = "Slic3r::ExPolygon::Ref"; RETVAL = &(THIS->expolygon); %};
|
||||
double thickness()
|
||||
%code{% RETVAL = THIS->thickness; %};
|
||||
unsigned short thickness_layers()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue