UI: Viewport: Show Add menu if nothing is selected #112112

Open
Pablo Vazquez wants to merge 1 commits from pablovazquez/blender:ui-viewport-context-add-menu into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Pablo Vazquez 3dbecea225 WIP: UI: Viewport: Show Add menu if nothing is selected
In Object and Mesh modes, show the Add menu (and Paste in Object mode).

Similar to how it's done in Node Editor.

The code for it was already there, but commented out because it was
seen as not useful. However, none of the menu entries work without
objects selected (except Paste), so the menu is already not useful as is.
2023-10-03 23:40:20 +02:00