From d876e4876f45b9358e007108525756ba6cae5d2c Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 11 Oct 2012 08:26:49 +0000 Subject: [PATCH] Limit Distance Constraint - jpbouza Feature Request The Limit Distance constraint is now allowed to use the owner/target space settings. Previously this wasn't exposed it didn't seem sensible/useful. However, this can be useful when dealing with dependencies between bones and the armature gets scaled. Usage notes: - It is advised to select the same space for both owner and target, otherwise the comparisons are meaningless --- release/scripts/startup/bl_ui/properties_object_constraint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py index fba7bd8712a..1eac232de88 100644 --- a/release/scripts/startup/bl_ui/properties_object_constraint.py +++ b/release/scripts/startup/bl_ui/properties_object_constraint.py @@ -485,6 +485,8 @@ class ConstraintButtonsPanel(): row.prop(con, "use_transform_limit") row.label() + self.space_template(layout, con) + def STRETCH_TO(self, context, layout, con): self.target_template(layout, con)