un-initialized flag used with commit r34695.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 8 Feb 2011 00:18:00 +0000 (00:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 8 Feb 2011 00:18:00 +0000 (00:18 +0000)
source/blender/blenkernel/intern/depsgraph.c

index 0c5c726..61fafa6 100644 (file)
@@ -1930,7 +1930,7 @@ static void dag_tag_renderlayers(Scene *sce, unsigned int lay)
        if(sce->nodetree) {
                bNode *node;
                Base *base;
-               unsigned int lay_changed;
+               unsigned int lay_changed= 0;
                
                for(base= sce->base.first; base; base= base->next)
                        if(base->lay & lay)