diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-01-02 07:14:17 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-01-02 07:14:17 +0300 |
commit | a7d268d38e348722977a9fcf72624af691e724cd (patch) | |
tree | 36b8374679b46ce301a301226326dcd3605a0557 /release/scripts/ui/properties_object_constraint.py | |
parent | bbac520987e68492d27c12a2b863c7839309008b (diff) |
Cessen Rigging Request: "Copy Transforms" Constraint
This constraint simply copies the transformation matrix of the target, and assigns it to the owner.
Diffstat (limited to 'release/scripts/ui/properties_object_constraint.py')
-rw-r--r-- | release/scripts/ui/properties_object_constraint.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py index 6bff8d6d727..cb6f8cd71a2 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -460,6 +460,12 @@ class ConstraintButtonsPanel(bpy.types.Panel): layout.prop(con, "use_offset") self.space_template(layout, con, wide_ui) + + def COPY_TRANSFORMS(self, context, layout, con, wide_ui): + self.target_template(layout, con, wide_ui) + + self.space_template(layout, con, wide_ui) + #def SCRIPT(self, context, layout, con): |