mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 14:51:11 -06:00
Make new overhang slowdonw(PrusaSlicer's slowdown) default again.
And tweak it
This commit is contained in:
parent
44a013a5a7
commit
95762fabee
5 changed files with 10 additions and 36 deletions
|
@ -321,37 +321,6 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
|
|||
is_msg_dlg_already_exist = false;
|
||||
}
|
||||
|
||||
//BBS
|
||||
/*
|
||||
if (config->opt_enum<PerimeterGeneratorType>("wall_generator") == PerimeterGeneratorType::Arachne &&
|
||||
config->opt_bool("overhang_speed_classic"))
|
||||
{
|
||||
wxString msg_text = _(L("Arachne engine doesn't work with classic overhang speed mode.\n")) + "\n";
|
||||
if (is_global_config)
|
||||
msg_text += "\n" + _(L("Turn off classic mode automatically? \n"
|
||||
"Yes - Enable arachne with classic mode off\n"
|
||||
"No - Give up using arachne this time"));
|
||||
MessageDialog dialog(m_msg_dlg_parent, msg_text, "",
|
||||
wxICON_WARNING | (is_global_config ? wxYES | wxNO : wxOK));
|
||||
DynamicPrintConfig new_conf = *config;
|
||||
is_msg_dlg_already_exist = true;
|
||||
auto answer = dialog.ShowModal();
|
||||
bool enable_overhang_slow_down_legacy = false;
|
||||
if (!is_global_config || answer == wxID_YES) {
|
||||
new_conf.set_key_value("overhang_speed_classic", new ConfigOptionBool(false));
|
||||
enable_overhang_slow_down_legacy = true;
|
||||
}
|
||||
else {
|
||||
new_conf.set_key_value("wall_generator", new ConfigOptionEnum<PerimeterGeneratorType>(PerimeterGeneratorType::Classic));
|
||||
}
|
||||
apply(config, &new_conf);
|
||||
if (cb_value_change) {
|
||||
if (!enable_overhang_slow_down_legacy)
|
||||
cb_value_change("overhang_speed_classic", false);
|
||||
}
|
||||
is_msg_dlg_already_exist = false;
|
||||
}
|
||||
*/
|
||||
// BBS
|
||||
int filament_cnt = wxGetApp().preset_bundle->filament_presets.size();
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue