ui glitch fix [#22667]
authorJens Ole Wund <bjornmose@gmx.net>
Tue, 29 Jun 2010 22:30:55 +0000 (22:30 +0000)
committerJens Ole Wund <bjornmose@gmx.net>
Tue, 29 Jun 2010 22:30:55 +0000 (22:30 +0000)
release/scripts/ui/properties_physics_softbody.py

index 43404a5ba8bd8773af07c8e484d17bb310457cdb..d253943b724b5e740bd94df4d51e9510f7bb58e9 100644 (file)
@@ -186,10 +186,11 @@ class PHYSICS_PT_softbody_edge(PhysicButtonsPanel):
         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")