[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54043] trunk/blender/release/scripts/ startup/bl_ui/properties_physics_common.py: rigidbody: Fix constraint buttons only showing for mesh objects
Sergej Reich
sergej.reich at googlemail.com
Wed Jan 23 14:45:55 CET 2013
Revision: 54043
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54043
Author: sergof
Date: 2013-01-23 13:45:52 +0000 (Wed, 23 Jan 2013)
Log Message:
-----------
rigidbody: Fix constraint buttons only showing for mesh objects
Was silly indentation mistake.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_physics_common.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_common.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_common.py 2013-01-23 13:13:20 UTC (rev 54042)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_common.py 2013-01-23 13:45:52 UTC (rev 54043)
@@ -88,10 +88,11 @@
"rigidbody.object_remove",
'MESH_ICOSPHERE') # XXX: need dedicated icon
- physics_add_special(self, col, ob.rigid_body_constraint, "Rigid Body Constraint",
- "rigidbody.constraint_add",
- "rigidbody.constraint_remove",
- 'CONSTRAINT') # RB_TODO needs better icon
+ # all types of objects can have rigid body constraint
+ physics_add_special(self, col, ob.rigid_body_constraint, "Rigid Body Constraint",
+ "rigidbody.constraint_add",
+ "rigidbody.constraint_remove",
+ 'CONSTRAINT') # RB_TODO needs better icon
# cache-type can be 'PSYS' 'HAIR' 'SMOKE' etc
More information about the Bf-blender-cvs
mailing list