From 13e7dddebdc1f3cecc3ab185919b5b9ebcbaa2df Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sun, 4 Nov 2012 00:46:26 +0000 Subject: [PATCH] Node UI: * Add 3 more operators to the Node menu. node.join [join selected nodes in a new frame] node.detach [remove selected nodes from their frame] node.links_detach [remove all links to selected nodes and try to reconnect neighboring nodes together] Patch by Philipp Oeser, thanks! --- release/scripts/startup/bl_ui/space_node.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 5b7ecbfb618..c46b1c20738 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -166,11 +166,19 @@ class NODE_MT_node(Menu): layout.operator("node.delete_reconnect") layout.separator() + + layout.operator("node.join", text="Join in new Frame") + layout.operator("node.detach", text="Remove from Frame") + + layout.separator() + layout.operator("node.link_make") layout.operator("node.link_make", text="Make and Replace Links").replace = True layout.operator("node.links_cut") + layout.operator("node.links_detach") layout.separator() + layout.operator("node.group_edit") layout.operator("node.group_ungroup") layout.operator("node.group_make")