forked from bartvdbraak/blender
* UI fix for recent Ocean Foam change, makes it a bit more compact.
This commit is contained in:
parent
d4c400b940
commit
be701c7336
@ -454,14 +454,18 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
|
||||
layout.separator()
|
||||
|
||||
layout.prop(md, "use_normals")
|
||||
|
||||
layout.prop(md, "use_foam")
|
||||
row = layout.row()
|
||||
row.active = md.use_foam
|
||||
col = row.column()
|
||||
col.prop(md, "foam_coverage", text="Coverage")
|
||||
col = row.column()
|
||||
col.label("Foam Data Layer Name")
|
||||
|
||||
split = layout.split()
|
||||
|
||||
col = split.column()
|
||||
col.prop(md, "use_foam")
|
||||
sub = col.row()
|
||||
sub.active = md.use_foam
|
||||
sub.prop(md, "foam_coverage", text="Coverage")
|
||||
|
||||
col = split.column()
|
||||
col.active = md.use_foam
|
||||
col.label("Foam Data Layer Name:")
|
||||
col.prop(md, "foam_layer_name", text="")
|
||||
|
||||
layout.separator()
|
||||
|
Loading…
Reference in New Issue
Block a user