diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-06 11:54:34 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-09-06 12:53:35 +0300 |
commit | e858d21ae42386c57c7f5b4b0982642173f460e5 (patch) | |
tree | 90d36cb8f5bd0ba8be7414b5027553eeca115c77 /release/scripts/startup/bl_ui/properties_constraint.py | |
parent | a23ce7f3b78b28550c6e6cfd73404b82dc210529 (diff) |
Transformation Constraint: implement a Mix Mode option.
Allow selecting how the new location/rotation/scale is combined with
the existing transformation. This is most useful for rotation, which
has multiple options, and scale, which previously could only replace.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_constraint.py')
-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 df53fccf9ea..dce2d2f2758 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -761,6 +761,8 @@ class ConstraintButtonsPanel: sub.prop(con, "to_min_z" + ext, text="Min") sub.prop(con, "to_max_z" + ext, text="Max") + layout.prop(con, "mix_mode" + ext, text="Mix") + self.space_template(layout, con) def SHRINKWRAP(self, _context, layout, con): |