mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
Fix: Infill slider did not work at first Cura start
CURA-5071
This commit is contained in:
parent
1cd26b790c
commit
b8ab623c80
@ -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…
x
Reference in New Issue
Block a user