Blender Git Loki
Git Commits -> Revision d06dc00
Revision d06dc00 by Juho Vepsalainen (master) December 27, 2007, 10:17 (GMT) |
Toggle links tool for Node Editor This commit adds a new tool, Toggle Links, to the node editor. This tool allows the user to toggle the status (linked/not linked) between desired sockets. The tool can be used either by using the f key or the menus. This functionality is analogue to one found in object editing modes except for its additional toggle functionality. To use this tool, the user has to first select an input and an output socket. Selecting is done by clicking with right mouse button on a socket. After the tool has been invoked, the link between those two sockets is toggled. The result may vary based on existing linkage. There can be only one input and one output selected at maximum in a node tree. This means that if the user selects a socket while one of the same type is already selected, the old one will be deselected. The tool complements the current way of connecting nodes. One possible use for it is to use it to review output of nodes by using a viewer node. Just select wanted input socket of a viewer node, set it visible and use selection of an output socket in conjuction with f key to show the output in the viewer node. Select another output and hit f to see its output and so on. |
Commit Details:
Full Hash: d06dc00af908584a02291cffb8704ac61caa12df
SVN Revision: 13017
Parent Commit: 0dc38a5
Lines Changed: +222, -64
8 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+48, -9) (Diff)
/source/blender/include/BSE_node.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+6, -1) (Diff)
/source/blender/src/drawnode.c (+44, -29) (Diff)
/source/blender/src/editnode.c (+111, -25) (Diff)
/source/blender/src/header_node.c (+7, -0) (Diff)
/source/blender/src/toolbox.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+48, -9) (Diff)
/source/blender/include/BSE_node.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+6, -1) (Diff)
/source/blender/src/drawnode.c (+44, -29) (Diff)
/source/blender/src/editnode.c (+111, -25) (Diff)
/source/blender/src/header_node.c (+7, -0) (Diff)
/source/blender/src/toolbox.c (+2, -0) (Diff)