Geometry Nodes: Hide node group selector for asset modifiers #111995

Merged
Hans Goudey merged 3 commits from HooglyBoogly/blender:modifier-asset-hide-node-group-selector into main 2023-09-07 14:47:49 +02:00
Member

When adding modifiers from assets in the new modifier menu, switching
the node group the modifier uses afterwards will not be common. The goal
is to replace the builtin modifier directly. In that case it's easier to
just add a new modifier. The "Empty Modifier" item makes it easy to
choose an arbitrary node group anyway.

Combined with hiding the two subpanels when they are unnecessary,
many node-modifiers will look just as clean as their builtin counterparts.

The option to show the data-block selector is added to the menu
in the node header so it's still accessible though.


image
image

When adding modifiers from assets in the new modifier menu, switching the node group the modifier uses afterwards will not be common. The goal is to replace the builtin modifier directly. In that case it's easier to just add a new modifier. The "Empty Modifier" item makes it easy to choose an arbitrary node group anyway. Combined with hiding the two subpanels when they are unnecessary, many node-modifiers will look just as clean as their builtin counterparts. The option to show the data-block selector is added to the menu in the node header so it's still accessible though. --- ![image](/attachments/b70cd427-a2c0-4dcb-867e-06110f5dc252) ![image](/attachments/029010b4-cbbb-46e4-97ea-70ed7e13c63b)
Hans Goudey added 1 commit 2023-09-05 20:07:12 +02:00
bae549e975 Geometry Nodes: Hide node group selector for asset modifiers
When adding modifiers from assets in the new modifier menu, switching
the node group the modifier uses afterwards will not be common. The goal
is to replace the builtin modifier directly. In that case it's easier to
just add a new modifier. The "Empty Modifier" item makes it easy to
choose an arbitrary node group anyway.

The option to show the data-block selector is added to the dropdown in
the node header so it's still accessible though.
Hans Goudey added this to the 4.0 milestone 2023-09-05 20:08:04 +02:00
Hans Goudey added this to the Nodes & Physics project 2023-09-05 20:08:10 +02:00
Hans Goudey requested review from Dalai Felinto 2023-09-05 20:08:21 +02:00
Hans Goudey requested review from Lukas Tönne 2023-09-05 20:08:22 +02:00
Hans Goudey requested review from Jacques Lucke 2023-09-05 20:08:22 +02:00
Hans Goudey added the
Interest
Geometry Nodes
Interest
User Interface
labels 2023-09-05 20:08:44 +02:00
Member

I mainly wonder whether this should be a more general flag that lets you choose between "show as asset" and "show as editable node group".

I mainly wonder whether this should be a more general flag that lets you choose between "show as asset" and "show as editable node group".
Author
Member

I mainly wonder whether this should be a more general flag that lets you choose between "show as asset" and "show as editable node group".

What other differences would you imagine?

> I mainly wonder whether this should be a more general flag that lets you choose between "show as asset" and "show as editable node group". What other differences would you imagine?
Member

Hm, I thought maybe something related to the other panels, but guess that's something else..

Hm, I thought maybe something related to the other panels, but guess that's something else..
Member

Code looks fine, but i don't see any assets in the modifier menu (which should then have the flag set by default) - how do i enable these?

Code looks fine, but i don't see any assets in the modifier menu (which should then have the flag set by default) - how do i enable these?
Member

@LukasTonne you need to drag and drop them on the object right now, but they should be available in the menu soon.

@LukasTonne you need to drag and drop them on the object right now, but they should be available in the menu soon.
Jacques Lucke approved these changes 2023-09-06 13:24:29 +02:00
Member

you need to drag and drop them on the object right now

This does not hide the ID selector though, is that intentional?

> you need to drag and drop them on the object right now This does not hide the ID selector though, is that intentional?
Hans Goudey added 2 commits 2023-09-06 16:11:36 +02:00
Author
Member

This does not hide the ID selector though, is that intentional?

That's not intentional. I changed asset drag & drop too in the latest commit.

>This does not hide the ID selector though, is that intentional? That's not intentional. I changed asset drag & drop too in the latest commit.
Jacques Lucke approved these changes 2023-09-06 16:15:59 +02:00
Lukas Tönne approved these changes 2023-09-06 16:16:35 +02:00
Dalai Felinto requested review from Simon Thommes 2023-09-07 09:15:02 +02:00

I personally find this reasonable. But I would like to hear from @SimonThommes or other artists about it.

I personally find this reasonable. But I would like to hear from @SimonThommes or other artists about it.
Member

Haven't tested the patch, but reading through it that makes perfect sense to me 👍

Haven't tested the patch, but reading through it that makes perfect sense to me 👍
Dalai Felinto approved these changes 2023-09-07 14:45:11 +02:00
Dalai Felinto left a comment
Owner

If it is good for Simon, it is good for me :)

If it is good for Simon, it is good for me :)
Hans Goudey merged commit 0783debda8 into main 2023-09-07 14:47:49 +02:00
Hans Goudey deleted branch modifier-asset-hide-node-group-selector 2023-09-07 14:47:50 +02:00
Sign in to join this conversation.
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 Assignees
5 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#111995
No description provided.