diff options
author | Thomas Dinges <blender@dingto.org> | 2011-11-20 18:36:23 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-11-20 18:36:23 +0400 |
commit | be701c7336a3f967a3a2807f8a7a0c511cb76815 (patch) | |
tree | d60fde0a8d2a6f52b228553cc7da596b93a82e17 | |
parent | d4c400b940f862f28d7af5bd7e59ce7f14025735 (diff) |
* UI fix for recent Ocean Foam change, makes it a bit more compact.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 52b5ed5f36e..288f04b084e 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -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() |