Blender Git Loki
Git Commits -> Revision 1693a5e
Revision 1693a5e by Sergey Sharybin (master) July 26, 2019, 08:23 (GMT) |
Fix T66378: Missing animation update when switching view layer Current frame is stored in a scene, and scene might have multiple view layers. The inactive view layers were not informed about scene's frame being changed, so when user switched back to view after changing scene frame it was in an inconsistent state between current scene frame and animation. Now we tag scene for time changes, so dependency graph can catch up and do proper update. Currently tagging is from quite generic place. Probably better approach would be to tag from where frame is actually being assigned. Downside of this is that it's easy to miss some places. Reviewers: brecht, mont29 Reviewed By: brecht Maniphest Tasks: T66378 Differential Revision: https://developer.blender.org/D5332 |
Commit Details:
Full Hash: 1693a5efe91999b60b3dc0bdff727473b3bd00bb
Parent Commit: 250995d
Lines Changed: +34, -1
7 Modified Paths:
/source/blender/depsgraph/intern/depsgraph.cc (+1, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+11, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+10, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_ID.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+11, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_flush.cc (+10, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_ID.h (+4, -0) (Diff)