From 3c6b721fc90f5dc387c4493e0d78e77b728079b7 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 4 Nov 2009 05:45:57 +0000 Subject: [PATCH] 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. --- .../scripts/ui/properties_object_constraint.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py index 3857a59edaf..3dd7a931316 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -88,7 +88,7 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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 @@ class ConstraintButtonsPanel(bpy.types.Panel): 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)