diff options
author | Thomas Dinges <blender@dingto.org> | 2012-07-29 14:03:46 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-07-29 14:03:46 +0400 |
commit | ab38e1d3795f58b5b3e9ca0377c9348ed710471a (patch) | |
tree | e2aa8cd5c7c83fd2781d8a2b3f71d45707dd02a9 /release/scripts/startup/bl_ui/properties_physics_common.py | |
parent | b2462f8985c20b364590937d535d8e4d35f97599 (diff) |
User Interface Scripts:
* Code cleanup, removed unneeded code.
* Style cleanup, don't break lines to early
(unless marked as pep8-80 or pep8-120 compliant)
* Keep 1 line after layout declaration empty.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_common.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 4db056e77a2..7f824d94431 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -186,11 +186,8 @@ def effector_weights_ui(self, context, weights): split = layout.split() - col = split.column() - col.prop(weights, "gravity", slider=True) - - col = split.column() - col.prop(weights, "all", slider=True) + split.prop(weights, "gravity", slider=True) + split.prop(weights, "all", slider=True) layout.separator() |