diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-14 13:14:21 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-14 13:15:55 +0300 |
commit | 90a8aa2dab381f21704c3199d4fcd8ed64e059ce (patch) | |
tree | 92ed038463fc544b4a456499c6e3b43976f7db6b /source/blender/editors/space_node/node_draw.c | |
parent | dd5d31b515c12136959a97893a264e32066ab326 (diff) |
Fix T43201: Update the "in use" flags of sockets before drawing,
so value buttons are displayed when the link is not used.
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 127e2d3a48e..16ad63bcafa 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1133,6 +1133,9 @@ void node_update_nodetree(const bContext *C, bNodeTree *ntree) { bNode *node; + /* make sure socket "used" tags are correct, for displaying value buttons */ + ntreeTagUsedSockets(ntree); + /* update nodes front to back, so children sizes get updated before parents */ for (node = ntree->nodes.last; node; node = node->prev) { node_update(C, ntree, node); |