Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJanne Karhu <jhkarh@gmail.com>2010-12-03 15:08:59 +0300
committerJanne Karhu <jhkarh@gmail.com>2010-12-03 15:08:59 +0300
commitaca76ddb502cbf0ee7888c3356f9f35240919410 (patch)
tree21cced29451aac6f7fe93bbe500a06f24cc0a160 /source
parent9295a53022e213a35c105a95a1863887d9d88758 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 9eafb3fb3e3..f5842fbe72d 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -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;
}