[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29806] trunk/blender/release/scripts/ui/ properties_physics_softbody.py: ui glitch fix [#22667]

Jens Ole Wund (bjornmose) bjornmose at gmx.net
Wed Jun 30 00:30:55 CEST 2010


Revision: 29806
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29806
Author:   bjornmose
Date:     2010-06-30 00:30:55 +0200 (Wed, 30 Jun 2010)

Log Message:
-----------
ui glitch fix [#22667] 

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_physics_softbody.py

Modified: trunk/blender/release/scripts/ui/properties_physics_softbody.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_physics_softbody.py	2010-06-29 22:07:27 UTC (rev 29805)
+++ trunk/blender/release/scripts/ui/properties_physics_softbody.py	2010-06-29 22:30:55 UTC (rev 29806)
@@ -186,10 +186,11 @@
         sub.active = softbody.stiff_quads
         sub.prop(softbody, "shear")
 
-        col.prop(softbody, "new_aero", text="Aero")
+        col.label(text="Extra Aerodynamics:")
+        col.prop(softbody, "aero", text="Factor")
         sub = col.column()
-        sub.enabled = softbody.new_aero
-        sub.prop(softbody, "aero", text="Factor")
+        sub.enabled = softbody.aero > 0
+        sub.prop(softbody, "new_aero", text="Straw Dynamics")
 
         col.label(text="Collision:")
         col.prop(softbody, "edge_collision", text="Edge")





More information about the Bf-blender-cvs mailing list