Bugfix #26367
authorTon Roosendaal <ton@blender.org>
Sat, 5 Mar 2011 17:04:30 +0000 (17:04 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 5 Mar 2011 17:04:30 +0000 (17:04 +0000)
Previous fix I did to make texture-node-paint work, accidentally
cleared tags for compositing nodes to be done while editing.

source/blender/blenkernel/intern/node.c

index 46a7b9cbeec38f99b61a48ede336d24d79851a4c..1f8cd1ca152d4a66064853df185c00b934736ff1 100644 (file)
@@ -2821,10 +2821,11 @@ bNodeTree *ntreeLocalize(bNodeTree *ntree)
                
                /* store new_node pointer to original */
                node->new_node->new_node= node;
-               /* ensure new user input gets handled ok */
-               node->new_node->need_exec= 0;
                
                if(ntree->type==NTREE_COMPOSIT) {
+                       /* ensure new user input gets handled ok, only composites (texture nodes will break, for painting since it uses no tags) */
+                       node->need_exec= 0;
+                       
                        /* move over the compbufs */
                        /* right after ntreeCopyTree() oldsock pointers are valid */