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.
Path: blender
URL: https://svn.blender.org/svnroot/bf-blender/trunk/blender
Repository Root: https://svn.blender.org/svnroot/bf-blender
Repository UUID:
954f8c5b-7b00-dc11-b283-
0030488c597c
Revision: 13017
Node Kind: directory
Last Changed Author: bebraw
Last Changed Rev: 13017
Last Changed Date: 2007-12-27 07:17:33 -0300 (Thu, 27 Dec 2007)
Signed-off-by: Diego Hernan Borghetti <bdiego@gmail.com>
Conflicts:
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/makesdna/DNA_node_types.h
source/blender/src/toolbox.c