[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28665] branches/render25/release/scripts/ ui/properties_physics_field.py: Field Buttons:
Thomas Dinges
dingto at gmx.de
Sat May 8 10:45:20 CEST 2010
Revision: 28665
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28665
Author: dingto
Date: 2010-05-08 10:45:16 +0200 (Sat, 08 May 2010)
Log Message:
-----------
Field Buttons:
*Minor spacing problem.
Modified Paths:
--------------
branches/render25/release/scripts/ui/properties_physics_field.py
Modified: branches/render25/release/scripts/ui/properties_physics_field.py
===================================================================
--- branches/render25/release/scripts/ui/properties_physics_field.py 2010-05-08 08:38:04 UTC (rev 28664)
+++ branches/render25/release/scripts/ui/properties_physics_field.py 2010-05-08 08:45:16 UTC (rev 28665)
@@ -56,8 +56,7 @@
split.prop(field, "type", text="")
# Use All Layers
- col = layout.column()
- col.prop(context.active_object, "use_all_layers")
+ layout.prop(context.active_object, "use_all_layers")
# Shape Menu
if field.type not in ('NONE', 'GUIDE', 'TEXTURE'):
@@ -70,11 +69,12 @@
split.prop(field, "shape", text="")
# Settings for the fields
- split = layout.split()
-
if field.type == 'NONE':
return # nothing to draw
- elif field.type == 'GUIDE':
+ else:
+ split = layout.split()
+
+ if field.type == 'GUIDE':
col = split.column()
col.prop(field, "guide_minimum")
col.prop(field, "guide_free")
More information about the Bf-blender-cvs
mailing list