diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-06 21:45:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-06 21:45:38 +0300 |
commit | 8172e8e528f9f19d566cdbd229e8ef7c7170acc2 (patch) | |
tree | 763bc0f8bc2f074278d93eb595e0a9b38339ad51 /source/blender/editors/space_node/drawnode.c | |
parent | c10ea8842052787a5c95d9b19c636d4efe683284 (diff) |
Node UI: Add square and diamond socked draw styles
Currently not used by Blender's node trees
D2814 by @charlie
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index f58b4050834..6185f4afbe2 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -638,7 +638,7 @@ static void node_draw_reroute(const bContext *C, ARegion *ar, SpaceNode *UNUSED( * highlight also if node itself is selected, since we don't display the node body separately! */ for (sock = node->inputs.first; sock; sock = sock->next) { - node_socket_circle_draw(C, ntree, node, sock, socket_size, (sock->flag & SELECT) || (node->flag & SELECT)); + node_socket_draw(C, ntree, node, sock, socket_size, (sock->flag & SELECT) || (node->flag & SELECT)); } UI_block_end(C, node->block); |