diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-31 14:57:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-31 14:57:38 +0300 |
commit | 323a7ab944132335f27ba21519df161d7a3351c9 (patch) | |
tree | ebccd8e52bcead21faaadbcf4c427293e598061c /source/blender/alembic/intern/alembic_capi.cc | |
parent | 480def9c5587b710ce478a58985e2e4359c14467 (diff) | |
parent | a35aae9e4972656c0e619c03aa0b26c903d16b34 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/alembic/intern/alembic_capi.cc')
-rw-r--r-- | source/blender/alembic/intern/alembic_capi.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc index 97a269b8fc0..e7c7213cecb 100644 --- a/source/blender/alembic/intern/alembic_capi.cc +++ b/source/blender/alembic/intern/alembic_capi.cc @@ -1026,6 +1026,10 @@ CacheReader *CacheReader_open_alembic_object(AbcArchiveHandle *handle, CacheRead ImportSettings settings; AbcObjectReader *abc_reader = create_reader(iobject, settings); + if (abc_reader == NULL) { + /* This object is not supported */ + return NULL; + } abc_reader->object(object); abc_reader->incref(); |