[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30137] branches/soc-2010-aligorith-2/ release/scripts/ui/properties_physics_rigidbody.py: Bullet SoC - UI Tweaks
Joshua Leung
aligorith at gmail.com
Fri Jul 9 06:47:19 CEST 2010
Revision: 30137
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30137
Author: aligorith
Date: 2010-07-09 06:47:07 +0200 (Fri, 09 Jul 2010)
Log Message:
-----------
Bullet SoC - UI Tweaks
Some settings only show up in the Rigid Body panel when they actually have any effect now.
Modified Paths:
--------------
branches/soc-2010-aligorith-2/release/scripts/ui/properties_physics_rigidbody.py
Modified: branches/soc-2010-aligorith-2/release/scripts/ui/properties_physics_rigidbody.py
===================================================================
--- branches/soc-2010-aligorith-2/release/scripts/ui/properties_physics_rigidbody.py 2010-07-09 00:14:46 UTC (rev 30136)
+++ branches/soc-2010-aligorith-2/release/scripts/ui/properties_physics_rigidbody.py 2010-07-09 04:47:07 UTC (rev 30137)
@@ -59,14 +59,15 @@
split = layout.split()
split.prop(rbo, "type", text="")
- col = layout.column()
- col.prop(rbo, "mass")
+ if rbo.type == 'ACTIVE':
+ col = layout.column()
+ col.prop(rbo, "mass")
+
+ col = layout.column(align=1)
+ col.label(text="Simulation Influence:")
+ col.prop(rbo, "follow_simulation", text="")
+ col.prop(rbo, "influence")
- col = layout.column(align=1)
- col.label(text="Influence:")
- col.prop(rbo, "follow_simulation", text="")
- col.prop(rbo, "influence")
-
class PHYSICS_PT_rigid_body_collisions(PHYSICS_PT_rigidbody_panel):
bl_label = "Rigid Body Collisions"
More information about the Bf-blender-cvs
mailing list