Blender Git Commit Log

Git Commits -> Revision 980bc5a

Revision 980bc5a by Omar Emara (master)
November 2, 2021, 16:29 (GMT)
UI: Use socket type info color to draw links

Currently, colored links overlay only supports standard sockets defined
by Blender. Some add-ons like Animation Nodes defines custom sockets for
everything and hence doesn't get colored sockets.

This patch uses the draw color from the socket type info to draw links
in order to support custom sockets.

Differential Revision: https://developer.blender.org/D13044

Reviewed By: Hans Goudey

Commit Details:

Full Hash: 980bc5a707551f6db18deeeb29c5f59f7a7c98bc
Parent Commit: dabfac3
Lines Changed: +32, -21

3 Modified Paths:

/source/blender/editors/space_node/drawnode.cc (+11, -7) (Diff)
/source/blender/editors/space_node/node_draw.cc (+13, -10) (Diff)
/source/blender/editors/space_node/node_intern.h (+8, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021