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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 12:13:45 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-17 12:13:45 +0400
commit9d0b7b168fdd69108f095cefed6c3feb0e327ea2 (patch)
tree7035547fe2c14ec11a3458b3b300bb6aeaa2ba49 /source/blender/blenkernel/intern/anim_sys.c
parent5fd24dc3f2f4ad440a7032325fad999b32726c4e (diff)
Camera tracking: animation datablock for MovieClip
Added AnimData block to MovieClip datablock which allows to animate different properties in clip. Currently supports animation of stabilization influence only. -- svn merge -r44129:44130 ^/branches/soc-2011-tomato
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index b32421a6b3d..9ae3ad95d5c 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -88,6 +88,7 @@ short id_type_can_have_animdata (ID *id)
case ID_LA: case ID_CA: case ID_WO:
case ID_SPK:
case ID_SCE:
+ case ID_MC:
{
return 1;
}
@@ -2335,6 +2336,9 @@ void BKE_animsys_evaluate_all_animation (Main *main, Scene *scene, float ctime)
/* speakers */
EVAL_ANIM_IDS(main->speaker.first, ADT_RECALC_ANIM);
+ /* movie clips */
+ EVAL_ANIM_IDS(main->movieclip.first, ADT_RECALC_ANIM);
+
/* objects */
/* ADT_RECALC_ANIM doesn't need to be supplied here, since object AnimData gets
* this tagged by Depsgraph on framechange. This optimisation means that objects