diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 10:12:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 10:13:16 +0300 |
commit | 3d860f53e8becaa8c500b250f5c9ac7215c4f6bf (patch) | |
tree | 51bea897b0afdf6ecec31354fa8655c178dec3d9 /source/blender/editors/include | |
parent | 6db79dafb3edac432a2ef98b5fb7fe94b6f746fd (diff) |
Gizmo: hide redo gizmo when spin tool not active
Selecting a another tool left the gizmo,
which could overlap other tools gizmos.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_gizmo_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_gizmo_utils.h b/source/blender/editors/include/ED_gizmo_utils.h index 90968754095..77956b9ca0d 100644 --- a/source/blender/editors/include/ED_gizmo_utils.h +++ b/source/blender/editors/include/ED_gizmo_utils.h @@ -35,6 +35,10 @@ bool ED_gizmo_poll_or_unlink_delayed_from_operator( const struct bContext *C, struct wmGizmoGroupType *gzgt, const char *idname); +bool ED_gizmo_poll_or_unlink_delayed_from_tool_ex( + const struct bContext *C, struct wmGizmoGroupType *gzgt, + const char *gzgt_idname); + /** Use this as poll function directly for: #wmGizmoGroupType.poll */ bool ED_gizmo_poll_or_unlink_delayed_from_tool( const struct bContext *C, struct wmGizmoGroupType *gzgt); |