From e858d21ae42386c57c7f5b4b0982642173f460e5 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Fri, 6 Sep 2019 11:54:34 +0300 Subject: 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. --- release/scripts/startup/bl_ui/properties_constraint.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'release/scripts/startup') 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): -- cgit v1.2.3