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.
Member

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.

In Object and Mesh modes, show the Add menu (and Paste in Object mode). Similar to how it's done in Node Editor. <video src="/attachments/df70850d-e1b0-4dc4-9af1-96fcf8dfe7ae" title="Screen Recording 2023-09-08 at 01.48.09.mov" controls></video> 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.
Pablo Vazquez added the
Module
User Interface
label 2023-09-08 02:06:06 +02:00
Pablo Vazquez added this to the User Interface project 2023-09-08 02:06:12 +02:00
Pablo Vazquez changed title from WIP: UI: Viewport: Show Add menu if nothing is selected to UI: Viewport: Show Add menu if nothing is selected 2023-09-14 17:31:35 +02:00
Author
Member

Test showing the Add menu embedded into the context.

It's a bit weird to have the title as "Object Context Menu", but it is also weird to have one entry that says "Add".

Test showing the Add menu embedded into the context. It's a bit weird to have the title as "Object Context Menu", but it is also weird to have one entry that says "Add". <video src="/attachments/cf589807-c123-4ce4-b736-271066649e0b" title="context_menu_add_embeded.mp4" controls></video>
Pablo Vazquez force-pushed ui-viewport-context-add-menu from 4316c52ad4 to 3dbecea225 2023-10-03 23:41:11 +02:00 Compare
Merge conflict checking is in progress. Try again in few moments.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u ui-viewport-context-add-menu:pablovazquez-ui-viewport-context-add-menu
git checkout pablovazquez-ui-viewport-context-add-menu
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#112112
No description provided.