Fix #21266: cyclic dependency checking for texture nodes was missing.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 5 Apr 2010 17:30:11 +0000 (17:30 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 5 Apr 2010 17:30:11 +0000 (17:30 +0000)
source/blender/editors/space_node/node_draw.c

index f4c9353ff923991677382bc484d244992f34adca..a1432cc0c1ceb70bfba551a052384500f640c189 100644 (file)
@@ -140,6 +140,9 @@ void ED_node_generic_update(Main *bmain, Scene *scene, bNodeTree *ntree, bNode *
        for(sce=bmain->scene.first; sce; sce=sce->id.next)
                if(sce->nodetree && sce->use_nodes && has_nodetree(sce->nodetree, ntree))
                        ED_node_changed_update(&sce->id, node);
+       
+       if(ntree->type == NTREE_TEXTURE)
+               ntreeTexCheckCyclics(ntree);
 }
 
 static void do_node_internal_buttons(bContext *C, void *node_v, int event)