[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25621] trunk/blender/release/scripts/ui/ properties_object_constraint.py: Floor Constraint: Evaluation space options are now available for this constraint too

Joshua Leung aligorith at gmail.com
Wed Dec 30 11:29:26 CET 2009


Revision: 25621
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25621
Author:   aligorith
Date:     2009-12-30 11:29:26 +0100 (Wed, 30 Dec 2009)

Log Message:
-----------
Floor Constraint: Evaluation space options are now available for this constraint too

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

Modified: trunk/blender/release/scripts/ui/properties_object_constraint.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_object_constraint.py	2009-12-30 10:21:45 UTC (rev 25620)
+++ trunk/blender/release/scripts/ui/properties_object_constraint.py	2009-12-30 10:29:26 UTC (rev 25621)
@@ -37,8 +37,6 @@
             # match enum type to our functions, avoids a lookup table.
             getattr(self, con.type)(context, box, con, wide_ui)
 
-            # show/key buttons here are most likely obsolete now, with
-            # keyframing functionality being part of every button
             if con.type not in ('RIGID_BODY_JOINT', 'SPLINE_IK', 'NULL'):
                 box.prop(con, "influence")
 
@@ -562,6 +560,8 @@
         if wide_ui:
             row.label(text="Min/Max:")
         row.prop(con, "floor_location", expand=True)
+		
+        self.space_template(layout, con, wide_ui)
 
     def RIGID_BODY_JOINT(self, context, layout, con, wide_ui):
         self.target_template(layout, con, wide_ui)





More information about the Bf-blender-cvs mailing list