Don't use extruderValue on settings that have no global_inherits_stack

It's unnecessary and seems to break things.

Contributes to issue CURA-2024.
This commit is contained in:
Ghostkeeper 2016-08-04 16:20:06 +02:00
parent cf06df8b07
commit 93f6f5d8d3
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -2270,7 +2270,7 @@
"description": "Connect the ZigZags. This will increase the strength of the zig zag support structure.",
"type": "bool",
"default_value": true,
"enabled": "support_enable and (extruderValue(support_extruder_nr, 'support_pattern') == \"zigzag\")",
"enabled": "support_enable and (support_pattern == 'zigzag')",
"settable_per_mesh": false,
"settable_per_extruder": true
},
@ -2341,7 +2341,7 @@
"value": "0.1 if support_type == 'everywhere' else 0",
"global_inherits_stack": "support_extruder_nr",
"type": "float",
"enabled": "support_enable and extruderValue(support_extruder_nr, 'support_type') == 'everywhere'",
"enabled": "support_enable and support_type == 'everywhere'",
"settable_per_mesh": true
}
}