Fix for [#25843] Multiple Scene Strip in Sequencer, bad scrubbing for armatures in viewport

* Sequencer didn't restore the scene properly after drawing a frame other than the current frame.
This commit is contained in:
2011-01-28 13:14:01 +00:00
parent 7769c00385
commit 73f48ef3f8

View File

@@ -1952,6 +1952,8 @@ static ImBuf * seq_render_scene_strip_impl(
seq->scene->r.cfra = oldcfra;
seq->scene->camera= oldcamera;
if(frame != oldcfra)
scene_update_for_newframe(context.bmain, seq->scene, seq->scene->lay);
#ifdef DURIAN_CAMERA_SWITCH
/* stooping to new low's in hackyness :( */