diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-05 16:51:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-05 16:53:26 +0300 |
commit | f5908e45d5b121de1ded0b32a4ae517da5be87a4 (patch) | |
tree | 979fe6f4096402e80afee9c3c91cb8b6b6519fbe | |
parent | b79976a9bd94dc372bb8f215c766d4ef03d67bcb (diff) |
Fix T64336: Switching to a Camera which is hidden, does not evaluate the animation data
Changing camera might require more objects pulled into the dependency graph,
so need tag relations for update.
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 0f0d057845e..7a1a0c7ab92 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -814,6 +814,7 @@ static void rna_Scene_camera_update(Main *bmain, Scene *UNUSED(scene_unused), Po WM_windows_scene_data_sync(&wm->windows, scene); DEG_id_tag_update(&scene->id, ID_RECALC_COPY_ON_WRITE); + DEG_relations_tag_update(bmain); } static void rna_Scene_fps_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr)) |