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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-06-25 17:21:24 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-25 17:21:24 +0300
commiteefe87866054060c7d01c2279e22421b72627ce8 (patch)
treee11761d904e3d4235dd184bf609ff34d2dd3a8d0 /source/blender/editors
parent476b4c415c091adf1c5dbdf7e842073c49ebe411 (diff)
Fix T55360: marker-based Camera switch focal length bug.
Scene was missing DEG tag update when its camera was changed based on active 'camera marker'.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/screen/screen_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c
index 53abe3ed4ea..e4de3cdfa38 100644
--- a/source/blender/editors/screen/screen_edit.c
+++ b/source/blender/editors/screen/screen_edit.c
@@ -1680,6 +1680,7 @@ void ED_update_for_newframe(Main *bmain, Depsgraph *depsgraph)
for (sc = bmain->screen.first; sc; sc = sc->id.next) {
BKE_screen_view3d_scene_sync(sc, scene);
}
+ DEG_id_tag_update(&scene->id, DEG_TAG_COPY_ON_WRITE);
}
#endif