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_points.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_points.h')
-rw-r--r-- | source/blender/alembic/intern/abc_points.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_points.h b/source/blender/alembic/intern/abc_points.h index 54873eed346..792283f04d3 100644 --- a/source/blender/alembic/intern/abc_points.h +++ b/source/blender/alembic/intern/abc_points.h @@ -61,7 +61,7 @@ public: void readObjectData(Main *bmain, float time); - DerivedMesh *read_derivedmesh(DerivedMesh *dm, const float time, int read_flag); + DerivedMesh *read_derivedmesh(DerivedMesh *dm, const float time, int read_flag, const char **err_str); }; void read_points_sample(const Alembic::AbcGeom::IPointsSchema &schema, |