mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-22 21:50:51 -05:00
Stop Saving silent_mode
silent_mode has been dropped on load since it was retired, and nothing can set it, yet it was still defined and written into every project. Remove the option and the code that only read it. The key stays in the obsolete set so older projects still load.
This commit is contained in:
1 parent
373ffaa13f
commit
19eb55d3e5
10 files changed
+23
-79
No files matched your search
@@ -3652,14 +3652,6 @@ void GCodeProcessor::apply_config(const DynamicPrintConfig& config)
|
||||
DEFAULT_TRAVEL_ACCELERATION;
|
||||
}
|
||||
|
||||
if (m_flavor == gcfMarlinLegacy || m_flavor == gcfMarlinFirmware) {
|
||||
const ConfigOptionBool* silent_mode = config.option<ConfigOptionBool>("silent_mode");
|
||||
if (silent_mode != nullptr) {
|
||||
if (silent_mode->value && m_time_processor.machine_limits.machine_max_acceleration_x.values.size() > 1)
|
||||
enable_stealth_time_estimator(true);
|
||||
}
|
||||
}
|
||||
|
||||
const ConfigOptionFloat* initial_layer_print_height = config.option<ConfigOptionFloat>("initial_layer_print_height");
|
||||
if (initial_layer_print_height != nullptr)
|
||||
m_first_layer_height = std::abs(initial_layer_print_height->value);
|
||||
|
||||
Reference in new issue
Block a user