diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-08 09:07:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-08 09:07:56 +0300 |
commit | ebe216f532845069bc5bb7b45e2eda03756b81cc (patch) | |
tree | e7b4431caf75e1d5432a7e76c8c52ae1974029d4 /source/blender/editors/space_image/image_edit.c | |
parent | de07bf2b13e8239b5175e9c4b79fc09f096b1b86 (diff) |
Sequencer: add option to toggle gizmos
Use shortcut matching the 3D view & popover in the header
Diffstat (limited to 'source/blender/editors/space_image/image_edit.c')
-rw-r--r-- | source/blender/editors/space_image/image_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_image/image_edit.c b/source/blender/editors/space_image/image_edit.c index 2174a4b9dc1..9081f0dfcf3 100644 --- a/source/blender/editors/space_image/image_edit.c +++ b/source/blender/editors/space_image/image_edit.c @@ -445,12 +445,12 @@ void ED_space_image_scopes_update(const struct bContext *C, &scene->display_settings); } -bool ED_space_image_show_render(SpaceImage *sima) +bool ED_space_image_show_render(const SpaceImage *sima) { return (sima->image && ELEM(sima->image->type, IMA_TYPE_R_RESULT, IMA_TYPE_COMPOSITE)); } -bool ED_space_image_show_paint(SpaceImage *sima) +bool ED_space_image_show_paint(const SpaceImage *sima) { if (ED_space_image_show_render(sima)) { return false; @@ -459,7 +459,7 @@ bool ED_space_image_show_paint(SpaceImage *sima) return (sima->mode == SI_MODE_PAINT); } -bool ED_space_image_show_uvedit(SpaceImage *sima, Object *obedit) +bool ED_space_image_show_uvedit(const SpaceImage *sima, Object *obedit) { if (sima) { if (ED_space_image_show_render(sima)) { |