[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24294] trunk/blender/release/scripts/ui/ properties_object_constraint.py: Bugfix #19777: Owner Space not Target Space for Action Constraint was getting exposed via the UI .

Joshua Leung aligorith at gmail.com
Wed Nov 4 06:45:58 CET 2009


Revision: 24294
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24294
Author:   aligorith
Date:     2009-11-04 06:45:57 +0100 (Wed, 04 Nov 2009)

Log Message:
-----------
Bugfix #19777: Owner Space not Target Space for Action Constraint was getting exposed via the UI. 

The former is useless and probably dangerous to enable here, while only the latter is useful for anything. 

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-11-04 05:31:42 UTC (rev 24293)
+++ trunk/blender/release/scripts/ui/properties_object_constraint.py	2009-11-04 05:45:57 UTC (rev 24294)
@@ -88,7 +88,7 @@
         col = split.column()
         col.itemR(con, "chain_length")
         col.itemR(con, "targetless")
-
+    
     def CHILD_OF(self, context, layout, con):
         self.target_template(layout, con)
 
@@ -129,7 +129,7 @@
         row.itemR(con, "target_z")
 
         self.space_template(layout, con)
-
+    
     def IK(self, context, layout, con):
         if context.object.pose.ik_solver == "ITASC":
             layout.itemR(con, "ik_type")
@@ -168,7 +168,7 @@
             sub = col.column()
             sub.active = con.rotation
             sub.itemR(con, "orient_weight", text="Rotation", slider=True)
-
+    
     def IK_COPY_POSE(self, context, layout, con):
         self.target_template(layout, con)
         self.ik_template(layout, con)
@@ -212,7 +212,7 @@
         row = layout.row()
         row.itemR(con, "weight", text="Weight", slider=True)
         row.itemR(con, "distance", text="Distance", slider=True)
-
+    
     def FOLLOW_PATH(self, context, layout, con):
         self.target_template(layout, con)
 
@@ -310,7 +310,7 @@
         row = layout.row()
         row.itemL(text="Convert:")
         row.itemR(con, "owner_space", text="")
-
+    
     def LIMIT_SCALE(self, context, layout, con):
         split = layout.split()
 
@@ -351,7 +351,7 @@
         row = layout.row()
         row.itemL(text="Convert:")
         row.itemR(con, "owner_space", text="")
-
+    
     def COPY_ROTATION(self, context, layout, con):
         self.target_template(layout, con)
 
@@ -378,7 +378,7 @@
         layout.itemR(con, "offset")
 
         self.space_template(layout, con)
-
+    
     def COPY_LOCATION(self, context, layout, con):
         self.target_template(layout, con)
 
@@ -438,7 +438,7 @@
 
         row = layout.row()
         row.itemL(text="Convert:")
-        row.itemR(con, "owner_space", text="")
+        row.itemR(con, "target_space", text="")
 
     def LOCKED_TRACK(self, context, layout, con):
         self.target_template(layout, con)





More information about the Bf-blender-cvs mailing list