Forgot to pass on current frame number to compositor, when render anims!

This commit is contained in:
Ton Roosendaal 2006-01-25 12:25:10 +00:00
parent 7ce61d0fdf
commit 7d715c0693

@ -939,6 +939,7 @@ void RE_BlenderAnim(Render *re, Scene *scene, int sfra, int efra)
mh->start_movie(&G.scene->r, re->rectx, re->recty); mh->start_movie(&G.scene->r, re->rectx, re->recty);
for(scene->r.cfra= sfra; scene->r.cfra<=efra; G.scene->r.cfra++) { for(scene->r.cfra= sfra; scene->r.cfra<=efra; G.scene->r.cfra++) {
re->r.cfra= scene->r.cfra; /* weak.... */
do_render_final(re, scene); do_render_final(re, scene);