Fix for animation possible offset in sequencer.
BKE_scene_update_for_newframe should be called before RE_BlenderFrame in seq_render_scene_strip. It's not entirely nice, but bot sure about better solution for now.
This commit is contained in:
@@ -2418,6 +2418,7 @@ static ImBuf *seq_render_scene_strip(SeqRenderData context, Sequence *seq, float
|
|||||||
if (re == NULL)
|
if (re == NULL)
|
||||||
re = RE_NewRender(scene->id.name);
|
re = RE_NewRender(scene->id.name);
|
||||||
|
|
||||||
|
BKE_scene_update_for_newframe(context.bmain, scene, scene->lay);
|
||||||
RE_BlenderFrame(re, context.bmain, scene, NULL, camera, scene->lay, frame, FALSE);
|
RE_BlenderFrame(re, context.bmain, scene, NULL, camera, scene->lay, frame, FALSE);
|
||||||
|
|
||||||
/* restore previous state after it was toggled on & off by RE_BlenderFrame */
|
/* restore previous state after it was toggled on & off by RE_BlenderFrame */
|
||||||
|
Reference in New Issue
Block a user