Fix T82495: assert with cast modifier in edit-mode
This commit is contained in:
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.
|
@ -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). */
|
||||
|
|
Loading…
Reference in New Issue