Geometry Nodes: Make displaying "Manage" panel optional

Often displaying the "Manage" panel is not very useful, or at least it
isn't worth taking up the screen real-estate. This commit adds an option
for showing the panel in the modifier, and adds an option to the node
group which is used to initialize the modifier option when creating a
modifier for a node group asset.

Pull Request: https://projects.blender.org/blender/blender/pulls/146775
This commit is contained in:
Hans Goudey
2025-09-25 16:00:07 +02:00
committed by Hans Goudey
parent 901835a2c7
commit fc4fc2d16c
10 changed files with 53 additions and 6 deletions

View File

@@ -1121,6 +1121,10 @@ class NODE_PT_node_tree_properties(Panel):
row.operator("node.default_group_width_set", text="", icon='NODE')
if group.bl_idname == "GeometryNodeTree":
row = layout.row()
row.active = group.is_modifier
row.prop(group, "show_modifier_manage_panel")
header, body = layout.panel("group_usage")
header.label(text="Usage")
if body: