mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Fix: Infill slider did not work at first Cura start
CURA-5071
This commit is contained in:
parent
1cd26b790c
commit
b8ab623c80
1 changed files with 3 additions and 1 deletions
|
@ -594,7 +594,9 @@ Item
|
||||||
// Update value only if the Recomended mode is Active,
|
// Update value only if the Recomended mode is Active,
|
||||||
// Otherwise if I change the value in the Custom mode the Recomended view will try to repeat
|
// Otherwise if I change the value in the Custom mode the Recomended view will try to repeat
|
||||||
// same operation
|
// same operation
|
||||||
if (UM.Preferences.getValue("cura/active_mode") == 0) {
|
var active_mode = UM.Preferences.getValue("cura/active_mode")
|
||||||
|
|
||||||
|
if (active_mode == 0 || active_mode == "simple") {
|
||||||
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
|
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue