[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35218] trunk/blender/release/scripts/ui/ properties_object_constraint.py: 2.5 Constraint Ui File:

Thomas Dinges blender at dingto.de
Sun Feb 27 11:47:32 CET 2011


Revision: 35218
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35218
Author:   dingto
Date:     2011-02-27 10:47:32 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
2.5 Constraint Ui File:
* Minor fix for my commit yesterday, label in FLOOR constraint was missing for location property. 

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	2011-02-27 09:36:29 UTC (rev 35217)
+++ trunk/blender/release/scripts/ui/properties_object_constraint.py	2011-02-27 10:47:32 UTC (rev 35218)
@@ -502,8 +502,8 @@
         layout.prop(con, "offset")
 
         row = layout.row()
-        #row.label(text="Min/Max:")
-        row.prop(con, "floor_location", expand=True, text="Min/Max:")
+        row.label(text="Min/Max:")
+        row.prop(con, "floor_location", expand=True)
 
         self.space_template(layout, con)
 
@@ -623,8 +623,7 @@
         row.label(text="Main Axis:")
         row.prop(con, "main_axis", expand=True)
 
-        row = layout.row()
-        row.prop(con, "use_cyclic")
+        layout.prop(con, "use_cyclic")
 
     def TRANSFORM(self, context, layout, con):
         self.target_template(layout, con)




More information about the Bf-blender-cvs mailing list