Nodes: Allow adding multiple search items per node type in add menu #104794

Merged
Hans Goudey merged 3 commits from HooglyBoogly/blender:node-add-search-items into main 2023-02-20 19:17:14 +01:00
Member

Add a per node type callback for creating node add search operations,
similar to the way link drag search is implemented (11be151d58).

Currently the searchable strings have to be separate items in the list.
In a separate step, we can look into adding invisible searchable text
to search items if that's still necessary.

Resolves #102118


If we decide it's reasonable, I can apply this to 3.5. The only
user-visible change is that the "Mix Color" node will show
up in the search again.

Add a per node type callback for creating node add search operations, similar to the way link drag search is implemented (11be151d58ec0ca955). Currently the searchable strings have to be separate items in the list. In a separate step, we can look into adding invisible searchable text to search items if that's still necessary. Resolves #102118 --- If we decide it's reasonable, I can apply this to 3.5. The only user-visible change is that the "Mix Color" node will show up in the search again.
Hans Goudey added the
Interest
Geometry Nodes
Module
Nodes & Physics
labels 2023-02-16 00:06:20 +01:00
Hans Goudey added 1 commit 2023-02-16 00:06:23 +01:00
Add a per node type callback for creating node add search operations,
similar to the way link drag search is implemented (11be151d58).

Currently the searchable strings have to be separate items in the list.
In a separate step, we can look into adding invisible searchable text
to search items if that's still necessary.

Resolves #102118
Hans Goudey added this to the Module: Nodes & Physics project 2023-02-16 00:06:28 +01:00
Hans Goudey requested review from Jacques Lucke 2023-02-16 00:06:43 +01:00
Jacques Lucke approved these changes 2023-02-20 12:37:24 +01:00
Jacques Lucke left a comment
Member

Think this can go into main. I don't see enough reason to justify merging this in the release branch.

Think this can go into `main`. I don't see enough reason to justify merging this in the release branch.
@ -353,6 +359,8 @@ typedef struct bNodeType {
*/
NodeGatherSocketLinkOperationsFunction gather_link_search_ops;
NodeGatherAddOperationsFunction gather_add_node_search_ops;
Member

Add comment.

Add comment.
HooglyBoogly marked this conversation as resolved
Hans Goudey added 2 commits 2023-02-20 19:13:09 +01:00
Hans Goudey merged commit cc925b9282 into main 2023-02-20 19:17:14 +01:00
Hans Goudey deleted branch node-add-search-items 2023-02-20 19:17:14 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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 Assignees
2 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#104794
No description provided.