From aadc90d0fc6734ac335f5ae488767ddb4dac307c Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 6 Nov 2019 17:11:32 +0300 Subject: Stretch To: implement a mode similar to Damped Track for rotation. Most of the time Stretch To is used in actual rigs, like BlenRig or Rigify, in combination with Damped Track to handle rotation before the stretch, because it produces rotations more appropriate for organic deformation, and doesn't flip because of internal gimbal lock. The prevalence of this pattern suggests that Stretch To should support that kind of rotation directly as an option. Differential Revision: https://developer.blender.org/D6134 --- release/scripts/startup/bl_ui/properties_constraint.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_constraint.py') diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index dce2d2f2758..b75d67b5350 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -543,11 +543,14 @@ class ConstraintButtonsPanel: col.active = con.use_bulge_min or con.use_bulge_max col.prop(con, "bulge_smooth", text="Smooth") - row = layout.row() - row.label(text="Volume:") + split = layout.split(factor=0.3) + split.label(text="Volume:") + row = split.row() row.prop(con, "volume", expand=True) - row.label(text="Plane:") + split = layout.split(factor=0.3) + split.label(text="Rotation:") + row = split.row() row.prop(con, "keep_axis", expand=True) def FLOOR(self, _context, layout, con): -- cgit v1.2.3