Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2022-05-30 17:22:06 +0300
committerBastien Montagne <bastien@blender.org>2022-05-30 17:58:27 +0300
commitfb62fcf0717e5a3e6ef464e12cbdbd21e91533a0 (patch)
treeefb59c86091e4baf7fdd4499e18707c2eb721f27 /source/blender/editors/include/ED_screen.h
parente7544e3ce4066cfb1759477a7cc4e405b6969067 (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/ED_screen.h')
-rw-r--r--source/blender/editors/include/ED_screen.h2
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 */