diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-01 06:15:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-01 09:16:45 +0300 |
commit | 346a812d7e1d15ad90bd568b181139929d4df50b (patch) | |
tree | ec6061bcc6a172d601f034601d345c37780984c3 /source/blender/editors/include/ED_transform.h | |
parent | 1e749d0602700f175d70eac75f510512fc3b8b42 (diff) |
Fix scale cage gizmo in pose-mode
The active objects matrix was ignored when calculating the cage.
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index bedd0e2fa35..b132e559baa 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -181,6 +181,13 @@ struct TransformBounds { /* Normalized axis */ float axis[3][3]; float axis_min[3], axis_max[3]; + + /** + * When #TransformCalcParams.use_local_axis is used. + * This is the local space matrix the caller may need to access. + */ + bool use_matrix_space; + float matrix_space[4][4]; }; struct TransformCalcParams { |