Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-09-04 14:59:18 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-09-06 07:58:13 +0300
commitf8362836a5c8feff3715ca823025caba249208c2 (patch)
treec3406460a139947c4613b86e392a1f4ffb6a5e2d /release
parentf4056e9ec3a89afbc592af3e3d169d2d584a9937 (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')
-rw-r--r--release/scripts/startup/bl_ui/properties_constraint.py2
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):