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.
This commit is contained in:
Ton Roosendaal
2006-04-02 12:08:34 +00:00
parent 546cf1d5ba
commit 609fe2d575

View File

@@ -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) {