diff options
author | Thomas Dinges <blender@dingto.org> | 2011-06-11 00:41:22 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-06-11 00:41:22 +0400 |
commit | 6c343e7b6178d72d899f77cff400e25e656c4c62 (patch) | |
tree | af1ee128df8c976aa5e8386334af33c37fe5ec30 /release | |
parent | ce3f040e140996d7594c25e436ba49d7c09b30ed (diff) |
2.5 Modifier UI Script:
* Tiny improvement, no need to have split declaration outside of if branch.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index 75069993521..586675f2ca0 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -483,11 +483,10 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): col.label(text="Mode:") col.prop(md, "wrap_method", text="") - split = layout.split(percentage=0.25) - - col = split.column() - if md.wrap_method == 'PROJECT': + split = layout.split(percentage=0.25) + + col = split.column() col.label(text="Axis:") col.prop(md, "use_project_x") col.prop(md, "use_project_y") @@ -499,7 +498,6 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel): col.prop(md, "use_positive_direction") col = split.column() - col.label(text="Cull Faces:") col.prop(md, "cull_face", expand=True) |