mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Suppressed editing of overridden options only if "filament_retract_length" == 0
This commit is contained in:
parent
253d755235
commit
b7d6c93c36
1 changed files with 1 additions and 1 deletions
|
@ -1579,7 +1579,7 @@ void TabFilament::update_filament_overrides_page()
|
||||||
|
|
||||||
const int extruder_idx = 0; // #ys_FIXME
|
const int extruder_idx = 0; // #ys_FIXME
|
||||||
|
|
||||||
const bool have_retract_length = m_config->option("filament_retract_length")->is_nil() ? false :
|
const bool have_retract_length = m_config->option("filament_retract_length")->is_nil() ||
|
||||||
m_config->opt_float("filament_retract_length", extruder_idx) > 0;
|
m_config->opt_float("filament_retract_length", extruder_idx) > 0;
|
||||||
|
|
||||||
for (const std::string& opt_key : opt_keys)
|
for (const std::string& opt_key : opt_keys)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue