From 497297850a49b2ed422ae286703ddc98b23a5366 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 28 Aug 2019 16:56:27 +0300 Subject: Copy Scale: support copying arbitrary non-uniform scale as uniform. Uniform scale is superior to non-uniform scale in that it works with parenting without causing shear. Thus it is a valid desire in some cases to turn arbitrary scale into guaranteed uniform scale. Implementing this in the Copy Scale constraint allows one for instance to 'inherit scale as uniform' by disabling Inherit Scale, and using Copy Scale from parent with Offset and Make Uniform. Reviewers: brecht Differential Revision: https://developer.blender.org/D5614 --- release/scripts/startup/bl_ui/properties_constraint.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index 6fa953574cb..d8eb0db62fc 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -430,6 +430,7 @@ class ConstraintButtonsPanel: row.prop(con, "use_z", text="Z") layout.prop(con, "power") + layout.prop(con, "use_make_uniform") row = layout.row() row.prop(con, "use_offset") -- cgit v1.2.3