UI: show favourites from properties-space in the 3D view

This allows settings to be toggled in the 3D view.
This commit is contained in:
Campbell Barton 2018-07-02 15:49:51 +02:00
parent 5fd2ea58a6
commit ecc0945117
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ static void screen_user_menu_draw(const bContext *C, Menu *menu)
bUserMenu *um_array[] = {
BKE_blender_user_menu_find(&U.user_menus, sl->spacetype, context),
(sl->spacetype != SPACE_TOPBAR) ? BKE_blender_user_menu_find(&U.user_menus, SPACE_TOPBAR, context) : NULL,
(sl->spacetype == SPACE_VIEW3D) ? BKE_blender_user_menu_find(&U.user_menus, SPACE_BUTS, context) : NULL,
};
for (int um_index = 0; um_index < ARRAY_SIZE(um_array); um_index++) {
bUserMenu *um = um_array[um_index];