Fix crash in BKE_mesh_validate_arrays

This commit is contained in:
2014-08-19 21:09:10 +10:00
parent 8d3cc431d7
commit 5e6b79c1f5

View File

@@ -502,8 +502,9 @@ bool BKE_mesh_validate_arrays(Mesh *mesh,
PRINT_ERR("\tLoop %u has invalid vert reference (%u)\n", sp->loopstart + j, ml->v);
sp->invalid = true;
}
mverts[ml->v].flag |= ME_VERT_TMP_TAG;
else {
mverts[ml->v].flag |= ME_VERT_TMP_TAG;
}
*v = ml->v;
}