Fix for [#24899] Sequence Transform strips don't apply animation properly to scale.

* Rendering a scene strip updated all animation data to it's frame, so fcurves were left with the wrong value.
* Now the animation data is recalculated to original frame after rendering each scene strip.
This commit is contained in:
Janne Karhu
2010-12-03 12:08:59 +00:00
parent 9295a53022
commit aca76ddb50

View File

@@ -2085,6 +2085,9 @@ static ImBuf * seq_render_strip(SeqRenderData context, Sequence * seq, float cfr
{ // scene can be NULL after deletions
ibuf = seq_render_scene_strip_impl(context, seq, nr);
/* Scene strips update all animation, so we need to restore original state.*/
BKE_animsys_evaluate_all_animation(context.bmain, cfra);
copy_to_ibuf_still(context, seq, nr, ibuf);
break;
}