Corrected enabled settings for support roof settings

This commit is contained in:
Jaime van Kessel 2015-09-14 17:18:13 +02:00
parent 998ebce608
commit daca1f26c2

View File

@ -1199,7 +1199,7 @@
"type": "float", "type": "float",
"default": 1, "default": 1,
"visible": false, "visible": false,
"enabled": "support_enable" "enabled": "support_roof_enable"
}, },
"support_roof_density": { "support_roof_density": {
"label": "Support Roof Density", "label": "Support Roof Density",
@ -1207,6 +1207,7 @@
"unit": "%", "unit": "%",
"type": "float", "type": "float",
"default": 100, "default": 100,
"enabled":"support_roof_enable",
"children": { "children": {
"support_roof_line_distance": { "support_roof_line_distance": {
"label": "Support Roof Line Distance", "label": "Support Roof Line Distance",
@ -1215,7 +1216,8 @@
"type": "float", "type": "float",
"default": 0.4, "default": 0.4,
"visible": false, "visible": false,
"inherit_function": "0 if parent_value == 0 else (support_roof_line_width * 100) / parent_value" "inherit_function": "0 if parent_value == 0 else (support_roof_line_width * 100) / parent_value",
"enabled": "support_roof_enable"
} }
} }
}, },
@ -1231,7 +1233,8 @@
"concentric": "Concentric", "concentric": "Concentric",
"zigzag": "Zig Zag" "zigzag": "Zig Zag"
}, },
"default": "concentric" "default": "concentric",
"enabled": "support_roof_enable"
}, },
"support_use_towers": { "support_use_towers": {
"label": "Use towers.", "label": "Use towers.",