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.
This commit is contained in:
parent
b79976a9bd
commit
f5908e45d5
Notes:
blender-bot
2023-02-14 06:57:56 +01:00
Referenced by issue #64336, Switching to a Camera which is hidden, does not evaluate the animation data.
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue