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:
authorTon Roosendaal <ton@blender.org>2006-04-02 16:08:34 +0400
committerTon Roosendaal <ton@blender.org>2006-04-02 16:08:34 +0400
commit609fe2d57590fe6a8e3ac3a064c651e2fc52c7e7 (patch)
treefc7d3a26fe46d5eff9677604ea8adc735f60f6b2
parent546cf1d5ba3e7cc56e9d8600bb933b125fdbc302 (diff)
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.
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c6
1 files changed, 5 insertions, 1 deletions
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) {