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:
parent
fa09ffc585
commit
7c2dc5183d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user