diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-11-30 11:20:45 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-11-30 11:20:45 +0300 |
commit | 66a367190447773f87cb31854a39f67b91d519f1 (patch) | |
tree | baebd8e622c92cd9f0d5eac6abe00347ad374d84 /source/blender/alembic/intern/abc_curves.h | |
parent | 514db9f014110da442f13c5a84f9e895dabbf305 (diff) |
Fix T49813: crash after changing Alembic cache topology.
Crash is due by mismatching loops and faces counts between the Alembic
data and the Blender derivedmesh which does not appear so
straightforward to fix (the crash happens deep in the derivedmesh code).
So for now, try to detect if the topology has changed and if so, both
only read vertices (vertex colors and UVs won't be read, as tied to face
loops) and add a warning message in the modifier's UI to let the user
know.
Diffstat (limited to 'source/blender/alembic/intern/abc_curves.h')
-rw-r--r-- | source/blender/alembic/intern/abc_curves.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_curves.h b/source/blender/alembic/intern/abc_curves.h index 979ee8af639..2757d179a47 100644 --- a/source/blender/alembic/intern/abc_curves.h +++ b/source/blender/alembic/intern/abc_curves.h @@ -56,7 +56,7 @@ public: bool valid() const; void readObjectData(Main *bmain, float time); - DerivedMesh *read_derivedmesh(DerivedMesh *, const float time, int); + DerivedMesh *read_derivedmesh(DerivedMesh *, const float time, int read_flag, const char **err_str); }; /* ************************************************************************** */ |