Node UI:
authorThomas Dinges <blender@dingto.org>
Sun, 4 Nov 2012 00:46:26 +0000 (00:46 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 4 Nov 2012 00:46:26 +0000 (00:46 +0000)
* 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

index 5b7ecbfb6180fc18c65fee568b9acbac81e3f5a1..c46b1c20738f55a6d6f5b111c22810ee86709349 100644 (file)
@@ -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")