Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/alembic/intern/abc_mesh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index 651f32e6ab0..61e8771e845 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -1495,7 +1495,7 @@ Mesh *AbcSubDReader::read_mesh(Mesh *existing_mesh,
* This prevents crash from T49813.
* TODO(kevin): perhaps find a better way to do this? */
if (face_counts->size() != existing_mesh->totpoly ||
- face_indices->size() != existing_mesh->totpoly) {
+ face_indices->size() != existing_mesh->totloop) {
settings.read_flag = MOD_MESHSEQ_READ_VERT;
if (err_str) {