mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Tech ENABLE_PREVIEW_TYPE_CHANGE set as default
This commit is contained in:
parent
65f5ac4f8a
commit
aec39aaba6
4 changed files with 1 additions and 94 deletions
|
@ -5432,12 +5432,7 @@ void Plater::reslice()
|
|||
if (clean_gcode_toolpaths)
|
||||
reset_gcode_toolpaths();
|
||||
|
||||
#if ENABLE_PREVIEW_TYPE_CHANGE
|
||||
p->preview->reload_print(!clean_gcode_toolpaths);
|
||||
#else
|
||||
// update type of preview
|
||||
p->preview->update_view_type(!clean_gcode_toolpaths);
|
||||
#endif // ENABLE_PREVIEW_TYPE_CHANGE
|
||||
}
|
||||
|
||||
void Plater::reslice_SLA_supports(const ModelObject &object, bool postpone_error_messages)
|
||||
|
@ -5681,9 +5676,6 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
|
|||
}
|
||||
else if(opt_key == "extruder_colour") {
|
||||
update_scheduled = true;
|
||||
#if !ENABLE_PREVIEW_TYPE_CHANGE
|
||||
p->preview->set_number_extruders(p->config->option<ConfigOptionStrings>(opt_key)->values.size());
|
||||
#endif // !ENABLE_PREVIEW_TYPE_CHANGE
|
||||
p->sidebar->obj_list()->update_extruder_colors();
|
||||
} else if(opt_key == "max_print_height") {
|
||||
update_scheduled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue