Blender Git Loki

Git Commits -> Revision b724c7f

Revision b724c7f by Jeroen Bakker (master)
July 12, 2011, 18:59 (GMT)
Add delete with reconnect feature.

this will reconnect nodes as if the deleted node is muted.
Operation is added to the space_node node menu and to the keymap as CTRL-X

to test this just add some nodes to the space_node
select one or multiple nodes and press CTRL-X

It should reconnect the nodes as they were muted

limitations:
1. it performs a delete and reconnect per node. It does not evaluate all selected nodes as one whole
2. mute only supports Value, Vector and Color data types, so does this feature
3. not usable for nodes where input and output does not match (like colorToBW)

Where reconnect could not be preformed the links will be removed from the model.

Undo works with this delete with reconnect.

Commit Details:

Full Hash: b724c7f27e5876c70c7cc2a42a16ba4e85c9dfc3
SVN Revision: 38344
Parent Commit: 9eb1b26
Lines Changed: +120, -5

6 Modified Paths:

/release/scripts/startup/bl_ui/space_node.py (+2, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -0) (Diff)
/source/blender/editors/space_node/node_edit.c (+111, -0) (Diff)
/source/blender/editors/space_node/node_intern.h (+1, -0) (Diff)
/source/blender/editors/space_node/node_ops.c (+4, -3) (Diff)
/source/blender/nodes/intern/CMP_util.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021