mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Minor issue when dealing with files with empty layers at bottom. #2553
This commit is contained in:
parent
f11196525b
commit
9f0283f808
4 changed files with 18 additions and 9 deletions
|
@ -35,6 +35,7 @@
|
|||
// owned by PrintObject, no constructor/destructor
|
||||
|
||||
int id();
|
||||
void set_id(int id);
|
||||
Ref<PrintObject> object();
|
||||
Ref<Layer> upper_layer()
|
||||
%code%{ RETVAL = THIS->upper_layer; %};
|
||||
|
@ -89,6 +90,7 @@
|
|||
// copies of some Layer methods, because the parameter wrapper code
|
||||
// gets confused about getting a Layer::Support instead of a Layer
|
||||
int id();
|
||||
void set_id(int id);
|
||||
Ref<PrintObject> object();
|
||||
Ref<SupportLayer> upper_layer()
|
||||
%code%{ RETVAL = (SupportLayer*)THIS->upper_layer; %};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue