Blender Git Loki
Git Commits -> Revision 8dcffc0
April 24, 2015, 12:30 (GMT) |
Use a wrapper around alembic read_sample function calls, to catch Alembic exceptions and prevent crashing. Alembic can throw exceptions on relatively common and uncritical errors, such as mismatching properties in files which don't fit the expected schema. These cases should now be handled gracefully and simple reject the cache file with an error message. |
Commit Details:
Full Hash: 8dcffc0f05dcbf40eb383c0aee677c1b475463fd
Parent Commit: 00c69c9
Lines Changed: +39, -24
14 Modified Paths:
/source/blender/pointcache/alembic/abc_cloth.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_cloth.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_group.cpp (+8, -8) (Diff)
/source/blender/pointcache/alembic/abc_group.h (+3, -3) (Diff)
/source/blender/pointcache/alembic/abc_mesh.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_mesh.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_object.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_object.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_particles.cpp (+3, -3) (Diff)
/source/blender/pointcache/alembic/abc_particles.h (+2, -2) (Diff)
/source/blender/pointcache/alembic/abc_reader.cpp (+13, -0) (Diff)
/source/blender/pointcache/alembic/abc_reader.h (+2, -0) (Diff)
/source/blender/pointcache/alembic/abc_simdebug.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_simdebug.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_cloth.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_group.cpp (+8, -8) (Diff)
/source/blender/pointcache/alembic/abc_group.h (+3, -3) (Diff)
/source/blender/pointcache/alembic/abc_mesh.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_mesh.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_object.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_object.h (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_particles.cpp (+3, -3) (Diff)
/source/blender/pointcache/alembic/abc_particles.h (+2, -2) (Diff)
/source/blender/pointcache/alembic/abc_reader.cpp (+13, -0) (Diff)
/source/blender/pointcache/alembic/abc_reader.h (+2, -0) (Diff)
/source/blender/pointcache/alembic/abc_simdebug.cpp (+1, -1) (Diff)
/source/blender/pointcache/alembic/abc_simdebug.h (+1, -1) (Diff)