mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Fix inherited Layer::Support id and object accessors.
This commit is contained in:
parent
b8b8c746d9
commit
07dd799967
1 changed files with 2 additions and 4 deletions
|
@ -72,10 +72,8 @@
|
||||||
|
|
||||||
// copies of some Layer methods, because the parameter wrapper code
|
// copies of some Layer methods, because the parameter wrapper code
|
||||||
// gets confused about getting a Layer::Support instead of a Layer
|
// gets confused about getting a Layer::Support instead of a Layer
|
||||||
int id()
|
int id();
|
||||||
%code%{ RETVAL = THIS->id; %};
|
Ref<PrintObject> object();
|
||||||
Ref<PrintObject> object()
|
|
||||||
%code%{ RETVAL = THIS->object; %};
|
|
||||||
Ref<SupportLayer> upper_layer()
|
Ref<SupportLayer> upper_layer()
|
||||||
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
||||||
Ref<SupportLayer> lower_layer()
|
Ref<SupportLayer> lower_layer()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue