diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-04 14:59:18 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-06 07:58:13 +0300 |
commit | f8362836a5c8feff3715ca823025caba249208c2 (patch) | |
tree | c3406460a139947c4613b86e392a1f4ffb6a5e2d /release/scripts/startup/bl_ui | |
parent | f4056e9ec3a89afbc592af3e3d169d2d584a9937 (diff) |
Copy Transforms: add a mixing mode option.
Allow combining location, rotation and scale at the same time,
using one constraint. The mixing modes are based on matrix
multiplication, but handle scale in a way that avoids creating
shear.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D5640
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_constraint.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index ac1ebedeba4..df53fccf9ea 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -459,6 +459,8 @@ class ConstraintButtonsPanel: def COPY_TRANSFORMS(self, _context, layout, con): self.target_template(layout, con) + layout.prop(con, "mix_mode", text="Mix") + self.space_template(layout, con) # def SCRIPT(self, context, layout, con): |