Rendering from the sequencer in background mode was printing frame 0 for every frame

This commit is contained in:
Campbell Barton
2010-07-17 17:36:53 +00:00
parent 21cb1f82db
commit a3d822f857

View 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)