Skip to content

413859 Current Frame Caching Correction and Improvement

Eoin O'Neill requested to merge (removed):animation-cache-scrub-issues into master

A priority stack has been added which prioritizes specific frames to cache. These frames will always be regenerated first regardless of whether they are the current frame or not.

This is a fix for bug 413859 and is progress toward Animation Next (T12769)'s task of working toward a more consistent frame cache system.

@dkazakov I believe I've implemented this correctly. I think a QStack is appropriate here for the stack of frames that are prioritized as it is last-in, first-out (ideal for priority circumstances.) Seems to fix 413859, but a regression test is probably in order for more complicated animation scenes.

Testing Process

  1. Open Animation KRA File
  2. As per 413859, check to make sure that the current frame is cached when scrubbing. You can force a full recache by changing the disk/memory write option in the animation cache settings panel.
  3. This patch should always try to cache the current frame after you begin scrubbing via the timeline.

Merge request reports