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 --- source/blender/makesdna/DNA_constraint_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index 83fc4d2a3f7..d7b392d5133 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -930,7 +930,7 @@ typedef enum eStretchTo_VolMode { /* Stretch To Constraint -> plane mode */ typedef enum eStretchTo_PlaneMode { PLANE_X = 0, - PLANE_Y = 1, + SWING_Y = 1, PLANE_Z = 2, } eStretchTo_PlaneMode; -- cgit v1.2.3