Two fixes in drop-node-on-noodle:
authorTon Roosendaal <ton@blender.org>
Fri, 22 Jul 2011 16:39:06 +0000 (16:39 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 22 Jul 2011 16:39:06 +0000 (16:39 +0000)
commitffc490cbf1d93c7e0a9b97953f6f52e69b9bc8ec
tree8a08bb74f8b62b0b649da384337fdf876cdffe3e
parenteed7702c9932653c68b72e291e30cbca3a741c16
Two fixes in drop-node-on-noodle:

- Intersection code was using undefined vector
  caused wrong lines to be picked
- Code now also copes with hidden sockets.
  If all fails, is just unhides a good socket.
source/blender/editors/space_node/node_edit.c