mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 00:33:16 +08:00
The infill denstiy was updated twice, first in Custom view and then in Recomended view
CURA-5071
This commit is contained in:
parent
b90a9c490d
commit
73517cd176
@ -516,7 +516,11 @@ Item
|
||||
// Update the slider value to represent the rounded value
|
||||
infillSlider.value = roundedSliderValue
|
||||
|
||||
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
|
||||
// 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
|
||||
// same operation
|
||||
if (UM.Preferences.getValue("cura/active_mode") == 0)
|
||||
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
|
||||
}
|
||||
|
||||
style: SliderStyle
|
||||
|
Loading…
x
Reference in New Issue
Block a user