mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06: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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue