mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Removed display_flip_xy and added display_orientation instead.
When starting Slic3r and the profile is FDM type than it yields an assertion failure for wx. See Tab::update_page_tree_visibility() line 2371
This commit is contained in:
@@ -2389,12 +2389,14 @@ void PrintConfigDef::init_sla_params()
|
||||
def->min = 100;
|
||||
def->default_value = new ConfigOptionInt(1440);
|
||||
|
||||
def = this->add("display_flip_xy", coBool);
|
||||
def->label = ("Flip X and Y axis");
|
||||
def->tooltip = L("Flip X and Y axis in the output raster");
|
||||
def->cli = "display-flip-xy=i";
|
||||
def->min = 0;
|
||||
def->default_value = new ConfigOptionBool(true);
|
||||
def = this->add("display_orientation", coEnum);
|
||||
def->label = L("Display orientation");
|
||||
def->tooltip = L("Display orientation");
|
||||
def->cli = "display-orientation=s";
|
||||
def->enum_keys_map = &ConfigOptionEnum<SLADisplayOrientation>::get_enum_values();
|
||||
def->enum_values.push_back("Landscape");
|
||||
def->enum_values.push_back("Portrait");
|
||||
def->default_value = new ConfigOptionEnum<SLADisplayOrientation>(sladoPortrait);
|
||||
|
||||
def = this->add("printer_correction", coFloats);
|
||||
def->full_label = L("Printer scaling correction");
|
||||
|
||||
Reference in New Issue
Block a user