Fix T54240: automatic node link moving should take into account type.
authorMatthias Ellerbeck <voyager25>
Mon, 19 Mar 2018 20:30:33 +0000 (21:30 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 19 Mar 2018 20:52:49 +0000 (21:52 +0100)
commit8ecf35d850fd17d44a60bcbea723d542d2139774
tree904b923d195ed49a3bf055e579e23cb6f468d545
parent148b0fef0980ab1263823ef4220d25caa0918d82
Fix T54240: automatic node link moving should take into account type.

Without this a "Clearcoat" link could be moved to "Clearcoat Normal"
for example, which doesn't make much sense.

Differential Revision: https://developer.blender.org/D3105
source/blender/nodes/intern/node_util.c