mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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,6 +516,10 @@ Item
|
||||||
// Update the slider value to represent the rounded value
|
// Update the slider value to represent the rounded value
|
||||||
infillSlider.value = roundedSliderValue
|
infillSlider.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)
|
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue