Reset infill line distance when changing density via recommended mode

Otherwise the change has no effect.

Contributes to issue CURA-5324.
This commit is contained in:
Ghostkeeper 2018-06-04 16:58:13 +02:00
parent 21dd29f035
commit 02a3067a0c
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
2 changed files with 9 additions and 0 deletions

View file

@ -626,6 +626,7 @@ Item
if (active_mode == 0 || active_mode == "simple")
{
Cura.MachineManager.setSettingForAllExtruders("infill_sparse_density", "value", roundedSliderValue)
Cura.MachineManager.resetSettingForAllExtruders("infill_line_distance")
}
}