mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-04 18:34:00 +08:00
Keep custom infill density value when disabling gradual infill - CURA-4397
This commit is contained in:
parent
e8925443a0
commit
30be02be14
@ -549,8 +549,11 @@ Item
|
||||
enabled: true
|
||||
|
||||
onClicked: {
|
||||
// Restore to 90% only when enabling gradual infill
|
||||
if (parseInt(infillSteps.properties.value) == 0) {
|
||||
infillDensity.setPropertyValue("value", 90)
|
||||
}
|
||||
infillSteps.setPropertyValue("value", (parseInt(infillSteps.properties.value) == 0) ? 5 : 0)
|
||||
infillDensity.setPropertyValue("value", 90)
|
||||
}
|
||||
|
||||
onEntered: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user