UI: Wireframe modifier- make crease grayed out when disabled

This commit is contained in:
Aaron Carlisle
2017-02-14 23:44:21 -05:00
parent 402b0aa59b
commit 384b7e18f1

View File

@@ -1320,7 +1320,9 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "thickness_vertex_group", text="Factor") row.prop(md, "thickness_vertex_group", text="Factor")
col.prop(md, "use_crease", text="Crease Edges") col.prop(md, "use_crease", text="Crease Edges")
col.prop(md, "crease_weight", text="Crease Weight") row = col.row()
row.active = md.use_crease
row.prop(md, "crease_weight", text="Crease Weight")
col = split.column() col = split.column()