Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_node / node_draw.c
index 92c055ed12ab7072237dcedf9073ca8ff26e33de..8089f47bce48d84a503046512846add86c3064b7 100644 (file)
@@ -165,7 +165,7 @@ void ED_node_tag_update_nodetree(Main *bmain, bNodeTree *ntree, bNode *node)
 
        bool do_tag_update = true;
        if (node != NULL) {
-               if (!node_connected_to_output(ntree, node)) {
+               if (!node_connected_to_output(bmain, ntree, node)) {
                        do_tag_update = false;
                }
        }