Need some fun once a while:
authorTon Roosendaal <ton@blender.org>
Fri, 22 Jul 2011 15:28:50 +0000 (15:28 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 22 Jul 2011 15:28:50 +0000 (15:28 +0000)
commitea90544d65a5b2549d5e0b4761de3bf0f2631688
tree440209dcaa85c0ff10c84c933fc0c81de77164b9
parent382050501dc0036dc28434b205215ebc21a0cf1b
Need some fun once a while:

On dragging a non-connected node on a noodle, it will insert it.
Functionality tweaks are possible, but it already feels non-intrusive.

Rules:
- Insertion only when a single noodle is intersecting with node.
- Default connects first matching socket type.
- If no socket match, it connects the first.
source/blender/editors/include/ED_node.h
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesdna/DNA_node_types.h