diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 13:14:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 13:33:09 +0300 |
commit | b7e2408ea4d9cf4559a63d2933478f5a7fd7450c (patch) | |
tree | 5f5e089237ee0afcccf9d15b8cd598edd950d553 /source/blender/editors/transform/transform_data.h | |
parent | bb64155c6372577342f80234fece2615c36d347f (diff) |
Fix T92867: Gimbal rotation broken when used for multiple objects
Support gimbal orientation for objects & bones.
Diffstat (limited to 'source/blender/editors/transform/transform_data.h')
-rw-r--r-- | source/blender/editors/transform/transform_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_data.h b/source/blender/editors/transform/transform_data.h index 15e40ec466b..6cfceedb389 100644 --- a/source/blender/editors/transform/transform_data.h +++ b/source/blender/editors/transform/transform_data.h @@ -85,6 +85,8 @@ typedef struct TransDataExtension { float isize[3]; /** Object matrix. */ float obmat[4][4]; + /** Use for #V3D_ORIENT_GIMBAL orientation. */ + float axismtx_gimbal[3][3]; /** Use instead of #TransData.smtx, * It is the same but without the #Bone.bone_mat, see #TD_PBONE_LOCAL_MTX_C. */ float l_smtx[3][3]; |