Page MenuHome

Alembic: integrate cache file into the dependency graph
ClosedPublic

Authored by Brecht Van Lommel (brecht) on May 1 2019, 2:29 PM.

Details

Summary
  • The cache file datablock is now evaluated as part of the dependency graph, creating/freeing the Alembic file handle matching the current frame. Modifiers and constraints depend on this evaluation.
  • Cache file handles and readers now only exist on COW datablocks, never the original ones.
  • Object data paths are flushed back to the original for the user interface.
  • The cache file keeps a list of all readers associated with its handle, and automatically frees them when the handle is freed. This kind of sharing of data across datablocks is weak but we have no better mechanism for it.

Fix T62720: Alembic sequences not working and crashing

Diff Detail

Repository
rB Blender
Branch
cache-deps (branched from master)
Build Status
Buildable 3472
Build 3472: arc lint + arc unit

Event Timeline

Harbormaster completed remote builds in B3472: Diff 15026.

From quick reading seems fine to me.

This revision is now accepted and ready to land.May 1 2019, 3:10 PM
This revision was automatically updated to reflect the committed changes.