Blender Git Loki
Git Commits -> Revision ad2a8e7
March 26, 2015, 13:13 (GMT) |
Moved the dupli cache reading code into a AbcDupligroupReader class. This is more in line with how readers work in the Blender Alembic implementation elsewhere. Generally, readers are less persistent than writers: they are created whenever cache results need to be updated (e.g. on frame changes) and discarded afterward. Writers OTOH stay alive during the whole baking job, since they keep the references to Alembic Writer instances and can only be deleted once the writing for that part is done. |
Commit Details:
Full Hash: ad2a8e7fd81614110d3ad8ac5555e6b2ace4d7cc
Parent Commit: 401b720
Lines Changed: +130, -123
7 Modified Paths:
/source/blender/blenkernel/intern/cache_library.c (+6, -1) (Diff)
/source/blender/pointcache/alembic/abc_group.cpp (+83, -115) (Diff)
/source/blender/pointcache/alembic/abc_group.h (+35, -1) (Diff)
/source/blender/pointcache/alembic/alembic.cpp (+2, -2) (Diff)
/source/blender/pointcache/intern/ptc_types.h (+1, -1) (Diff)
/source/blender/pointcache/PTC_api.cpp (+2, -2) (Diff)
/source/blender/pointcache/PTC_api.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_group.cpp (+83, -115) (Diff)
/source/blender/pointcache/alembic/abc_group.h (+35, -1) (Diff)
/source/blender/pointcache/alembic/alembic.cpp (+2, -2) (Diff)
/source/blender/pointcache/intern/ptc_types.h (+1, -1) (Diff)
/source/blender/pointcache/PTC_api.cpp (+2, -2) (Diff)
/source/blender/pointcache/PTC_api.h (+1, -1) (Diff)