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

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019