Blender Git Loki
Git Commits -> Revision 4f7bc3a
March 23, 2015, 11:23 (GMT) |
Fix for circular linker dependency with cache code library. The `bf_pointcache_alembic` code is a separate library, to avoid muddling up core code with alembic includes and preprocessor defines. Alembic stuff only belongs strictly into alembic code and can be disabled cleanly. The `bf_pointcache` and `bf_pointcache_alembic` libraries had a circular dependency, because the alembic implementation functions were called directly. Now there is a "Factory" class to abstract the creation of concrete implementations for readers and writers. `bf_pointcache_alembic` defines this factory and is registered //outside// of the core `bf_pointcache` lib, so there is no linker circularity. |
Commit Details:
Full Hash: 4f7bc3a7aabbe0d4a32b5ae389c86dba9b61e63d
Parent Commit: 8618cd3
Lines Changed: +182, -90
1 Added Path:
/source/blender/pointcache/alembic/alembic.cpp (+124, -0) (View)
1 Deleted Path:
/source/blender/pointcache/intern/alembic.h (+0, -65)
16 Modified Paths:
/build_files/cmake/macros.cmake (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_cloth.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_mesh.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_particles.cpp (+0, -2) (Diff)
/source/blender/pointcache/alembic/abc_reader.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_writer.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/CMakeLists.txt (+2, -0) (Diff)
/source/blender/pointcache/CMakeLists.txt (+0, -1) (Diff)
/source/blender/pointcache/intern/ptc_types.cpp (+2, -0) (Diff)
/source/blender/pointcache/intern/ptc_types.h (+28, -0) (Diff)
/source/blender/pointcache/PTC_api.cpp (+16, -17) (Diff)
/source/blender/pointcache/PTC_api.h (+2, -0) (Diff)
/source/creator/CMakeLists.txt (+1, -0) (Diff)
/source/creator/creator.c (+3, -0) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+3, -0) (Diff)
/source/blender/pointcache/alembic/abc_cloth.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_mesh.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_particles.cpp (+0, -2) (Diff)
/source/blender/pointcache/alembic/abc_reader.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/abc_writer.cpp (+0, -1) (Diff)
/source/blender/pointcache/alembic/CMakeLists.txt (+2, -0) (Diff)
/source/blender/pointcache/CMakeLists.txt (+0, -1) (Diff)
/source/blender/pointcache/intern/ptc_types.cpp (+2, -0) (Diff)
/source/blender/pointcache/intern/ptc_types.h (+28, -0) (Diff)
/source/blender/pointcache/PTC_api.cpp (+16, -17) (Diff)
/source/blender/pointcache/PTC_api.h (+2, -0) (Diff)
/source/creator/CMakeLists.txt (+1, -0) (Diff)
/source/creator/creator.c (+3, -0) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+3, -0) (Diff)