Page MenuHome

Keyframe changes doesn't update in unselected layers
Closed, ArchivedPublic

Description

System Information
Windows 7 64 bit
AMD Radeon HD 6950

Blender Version
Broken: 2.69 and 2.7 RC1

Short description of error
If I have two layers with animated objects and only have one of the layers active while changing frame only the objects in that layer are animated. So if I switch to the other layer it will not have been updated with the new animations/transforms and instead looks exactly like it did before the frame change.

The workaround for this that I use is to just go up a frame quickly and then down again (with both layers selected), but this shouldn't be necessary and can in cases with heavy scenes be very slow. I make game models so this is a small annoyance that often occurs while exploding highpoly and lowpoly models that are supposed to match up.

I could see this being a performance enhancement as opposed to a bug, so you don't have to wait for the whole scene to update all objects before you can start working again. I just thought it might be best to report it and see anyway to be sure.

Exact steps for others to reproduce the error
Here's a simple blend-file that clearly demonstrates the problem:


The two models (suzanne and torus) are keyframed to lie on top of each other.

Instructions:

  1. Change the active frame to 10 (with only one layer selected).
  2. Select the other layer and you'll see that the models do not match up.
  3. Go up or down a frame (with both layers selected) to make the animations match.

Event Timeline

Robin Karlsson (nosslak) raised the priority of this task from to 90.
Robin Karlsson (nosslak) updated the task description. (Show Details)
Robin Karlsson (nosslak) edited a custom field.
Sergey Sharybin (sergey) lowered the priority of this task from 90 to 50.Mar 11 2014, 7:13 AM

Correction to the steps, you need to switch to layer 2 and back to 1 before changing the frame.

@Brecht Van Lommel (brecht), this is actually an old DAG issue, any suggestions how to deal with this?

We currently don't keep track of this and need perhaps a flag to indicate if an object has been updated and is ready. For animated objects that flag would be cleared on frame change and for others if dependencies change.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Apr 10 2014, 7:34 PM
Sergey Sharybin (sergey) claimed this task.

Closing the report as a limitation of the current depsgraph.

@Lukas Tönne (lukastoenne), this is to be considered into account for the depsgraph_refactor project. Would update the relevant list in wiki to test depsgraph.