Fix T82495: assert with cast modifier in edit-mode

This commit is contained in:
Campbell Barton 2020-11-09 19:01:48 +11:00
parent 06dac0a453
commit 067e200564
Notes: blender-bot 2023-02-14 03:34:17 +01:00
Referenced by issue #82495, Assert entering edit mode with a generate modifier followed by a cast modifier.
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ static void deformVertsEM(ModifierData *md,
}
if (mesh && mesh->runtime.wrapper_type == ME_WRAPPER_TYPE_MDATA) {
BLI_assert(mesh_src->totvert == numVerts);
BLI_assert(mesh->totvert == numVerts);
}
/* TODO(Campbell): use edit-mode data only (remove this line). */