mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix inherit function for infill line distance
For some reason using parent value here creates odd override bugs
This commit is contained in:
parent
4ffbfcf69f
commit
c1eab9c3a3
1 changed files with 2 additions and 3 deletions
|
@ -256,7 +256,6 @@
|
|||
"min_value_warning": "0.2",
|
||||
"max_value_warning": "5",
|
||||
"type": "float",
|
||||
"inherit_function": "parent_value",
|
||||
"visible": false,
|
||||
"children": {
|
||||
"wall_line_count": {
|
||||
|
@ -454,7 +453,7 @@
|
|||
"type": "float",
|
||||
"default": 2,
|
||||
"visible": false,
|
||||
"inherit_function": "0 if parent_value == 0 else (infill_line_width * 100) / parent_value"
|
||||
"inherit_function": "0 if infill_sparse_density == 0 else (infill_line_width * 100) / infill_sparse_density"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -505,7 +504,7 @@
|
|||
"type": "int",
|
||||
"default": 1,
|
||||
"visible": false,
|
||||
"inherit_function": "math.floor((parent_value + 0.001) / layer_height)"
|
||||
"inherit_function": "math.floor(( parent_value + 0.001) / layer_height)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue