Blender Git Loki

Git Commits -> Revision 89826e0

Revision 89826e0 by Brecht Van Lommel (master)
May 1, 2019, 14:02 (GMT)
Alembic: integrate cache file into the dependency graph

* 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

Differential Revision: https://developer.blender.org/D4774

Commit Details:

Full Hash: 89826e0a0d8ac55881569e021c487ac5541c6612
Parent Commit: a72a831
Lines Changed: +229, -252

18 Modified Paths:

/source/blender/alembic/intern/abc_object.cc (+0, -3) (Diff)
/source/blender/alembic/intern/alembic_capi.cc (+5, -2) (Diff)
/source/blender/blenkernel/BKE_cachefile.h (+16, -11) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+134, -113) (Diff)
/source/blender/blenkernel/intern/constraint.c (+7, -17) (Diff)
/source/blender/blenkernel/intern/scene.c (+0, -9) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+7, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+10, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+3, -2) (Diff)
/source/blender/editors/io/io_cache.c (+6, -8) (Diff)
/source/blender/makesdna/DNA_cachefile_types.h (+8, -4) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_cachefile.c (+3, -35) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+1, -17) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -14) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+16, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021