From 609fe2d57590fe6a8e3ac3a064c651e2fc52c7e7 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 2 Apr 2006 12:08:34 +0000 Subject: Fix for #4048 Camera was excluded from depsgraph when not visible in current layer... resulting in camera animations to not move. Solved with just an exception, but it certainly is attention point for the depsgraph cleanup. --- source/blender/blenkernel/intern/depsgraph.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index 5b8cd7e5d21..8c8244588f5 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -1684,7 +1684,11 @@ void DAG_scene_update_flags(Scene *sce, unsigned int lay) DAG_scene_flush_update(sce, lay); - /* and store the info in groubobject */ + /* hrmf... an exception to look at once, for invisible camera object we do it over */ + if(sce->camera) + dag_object_time_update_flags(sce->camera); + + /* and store the info in groupobject */ for(group= G.main->group.first; group; group= group->id.next) { if(group->id.flag & LIB_DOIT) { for(go= group->gobject.first; go; go= go->next) { -- cgit v1.2.3