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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user