Nodes: Remove "Make Group" and "Ungroup" from add menu

Since these are operations rather than new nodes, they don't make
sense in the add menu. They are also available in the "Node" menu
in the editor's header and in the context menu.
This commit is contained in:
Hans Goudey 2023-08-23 15:52:14 -04:00
parent fa09ffc585
commit 7c2dc5183d
1 changed files with 0 additions and 2 deletions

View File

@ -27,8 +27,6 @@ def draw_node_group_add_menu(context, layout):
node_tree = space_node.edit_tree
all_node_groups = context.blend_data.node_groups
layout.operator("node.group_make")
layout.operator("node.group_ungroup")
if node_tree in all_node_groups.values():
layout.separator()
add_node_type(layout, "NodeGroupInput")