diff options
author | Bastien Montagne <bastien@blender.org> | 2022-05-30 17:22:06 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-05-30 17:58:27 +0300 |
commit | fb62fcf0717e5a3e6ef464e12cbdbd21e91533a0 (patch) | |
tree | efb59c86091e4baf7fdd4499e18707c2eb721f27 /source/blender/editors/include | |
parent | e7544e3ce4066cfb1759477a7cc4e405b6969067 (diff) |
Fix polling function for background image removal not checking linked ID.
Linked ID is (almost) never editable... Also rename that function to add
the `_poll` suffix.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index f909a13c2cb..aa62a6209e4 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -596,7 +596,7 @@ bool ED_operator_posemode_context(struct bContext *C); bool ED_operator_posemode(struct bContext *C); bool ED_operator_posemode_local(struct bContext *C); bool ED_operator_mask(struct bContext *C); -bool ED_operator_camera(struct bContext *C); +bool ED_operator_camera_poll(struct bContext *C); /* screen_user_menu.c */ |