mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Refactored the Config XS bindings
This commit is contained in:
parent
c73378744f
commit
3c862836f2
18 changed files with 104 additions and 194 deletions
|
@ -30,7 +30,7 @@ _constant()
|
|||
%name{Slic3r::Print::Region} class PrintRegion {
|
||||
// owned by Print, no constructor/destructor
|
||||
|
||||
Ref<PrintRegionConfig> config()
|
||||
Ref<StaticPrintConfig> config()
|
||||
%code%{ RETVAL = &THIS->config; %};
|
||||
Ref<Print> print();
|
||||
|
||||
|
@ -53,7 +53,7 @@ _constant()
|
|||
|
||||
Ref<Print> print();
|
||||
Ref<ModelObject> model_object();
|
||||
Ref<PrintObjectConfig> config()
|
||||
Ref<StaticPrintConfig> config()
|
||||
%code%{ RETVAL = &THIS->config; %};
|
||||
Points copies();
|
||||
t_layer_height_ranges layer_height_ranges()
|
||||
|
@ -119,11 +119,11 @@ _constant()
|
|||
Print();
|
||||
~Print();
|
||||
|
||||
Ref<PrintConfig> config()
|
||||
Ref<StaticPrintConfig> config()
|
||||
%code%{ RETVAL = &THIS->config; %};
|
||||
Ref<PrintObjectConfig> default_object_config()
|
||||
Ref<StaticPrintConfig> default_object_config()
|
||||
%code%{ RETVAL = &THIS->default_object_config; %};
|
||||
Ref<PrintRegionConfig> default_region_config()
|
||||
Ref<StaticPrintConfig> default_region_config()
|
||||
%code%{ RETVAL = &THIS->default_region_config; %};
|
||||
Ref<PlaceholderParser> placeholder_parser()
|
||||
%code%{ RETVAL = &THIS->placeholder_parser; %};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue