[Bf-committers] Proposal: Untangled delete

j.bakker at atmind.nl j.bakker at atmind.nl
Mon Jul 11 09:30:42 CEST 2011


When a node is deleted, all links between this node and other nodes are
also deleted.

There are cases you want to remove the node, and keep the tree intact. we
could use the mute function to determine how nodes are connected and update
the tree. Thereby keeping the system working.
implementation of the mute-function is:
1. the first value inputsocket will be used for all value output sockets
2. the first vector inputsocket will be used for all vector output sockets
3. the first color inputsocket will be used for all color output sockets

I have not seen any other socket types in the mute node.

I added an operation in the space_node called untangle and a macro to
untangle before delete (mapped it to CTRL-X).

Things to do:
 * Clean up and document the code
 * Add it to the menu of the space_node

see here how it works:
 * http://www.youtube.com/watch?v=EmOevfBhL2Y (clear simple demonstration)
 * http://www.youtube.com/watch?v=o77kcWSmiew (complex node setup)



--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting




More information about the Bf-committers mailing list