Rendering from the sequencer in background mode was printing frame 0 for every frame
authorCampbell Barton <ideasman42@gmail.com>
Sat, 17 Jul 2010 17:36:53 +0000 (17:36 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 17 Jul 2010 17:36:53 +0000 (17:36 +0000)
source/blender/render/intern/source/pipeline.c

index fd91bf8a2c2489f7b6e4d96ce6cba149de1783a3..258abe9a0fc96b6dfa0602567b1ef04c8b3e841c 100644 (file)
@@ -2453,6 +2453,8 @@ static void do_render_seq(Render * re)
        RenderResult *rr = re->result;
        int cfra = re->r.cfra;
 
+       re->i.cfra= cfra;
+
        if(recurs_depth==0) {
                /* otherwise sequencer animation isnt updated */
                BKE_animsys_evaluate_all_animation(G.main, (float)cfra); // XXX, was BKE_curframe(re->scene)