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:
authorPhilipp Oeser <info@graphics-engineer.com>2018-12-20 15:00:32 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-12-21 23:06:52 +0300
commitc79b8490976554d448435ae9b61d0697ad40e79f (patch)
tree0a408306cd7e9d3b88cb5961b23d5cc3591b4da3 /source/blender/editors/include/ED_screen.h
parente6e2f655857b43326d74577c50755409d7beaf53 (diff)
Fix T58327: Quick Favorites "Remove from Favorites" missing for added
Modifiers Since user menu entries from SPACE_BUTS/SPACE_TOPBAR are also shown in other Editors (SPACE_VIEW3D), also allow these entries to be removed from Quick Favorites from these Editors. Match and deduplicate logic from screen_user_menu_draw() and ui_popup_context_menu_for_button(). Reviewers: campbellbarton, brecht Maniphest Tasks: T58327 Differential Revision: https://developer.blender.org/D4112
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 ce0c9468d1e..35f5000f4b7 100644
--- a/source/blender/editors/include/ED_screen.h
+++ b/source/blender/editors/include/ED_screen.h
@@ -310,7 +310,7 @@ bool ED_operator_camera(struct bContext *C);
/* screen_user_menu.c */
-struct bUserMenu *ED_screen_user_menu_find(struct bContext *C);
+bUserMenu **ED_screen_user_menus_find(struct bContext *C, uint *r_len);
struct bUserMenu *ED_screen_user_menu_ensure(struct bContext *C);