diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 13:14:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 13:14:08 +0300 |
commit | bb64155c6372577342f80234fece2615c36d347f (patch) | |
tree | 3f813b117b41e793226f37f36b63427ae14c93fe /source/blender/editors/transform/transform.h | |
parent | d753ebd40afe941bddc86f8f7dbb6dcb014d2716 (diff) |
Cleanup: split gimbal_axis into pose and object
Allow access to a single bones gimbal matrix.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index 3076b3e207f..8fe3b51620d 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -713,7 +713,8 @@ struct wmKeyMap *transform_modal_keymap(struct wmKeyConfig *keyconf); /* transform_gizmo.c */ #define GIZMO_AXIS_LINE_WIDTH 2.0f -bool gimbal_axis(struct Object *ob, float gmat[3][3]); +bool gimbal_axis_pose(struct Object *ob, const struct bPoseChannel *pchan, float gmat[3][3]); +bool gimbal_axis_object(struct Object *ob, float gmat[3][3]); void drawDial3d(const TransInfo *t); /** \} */ |