[Bf-blender-cvs] [067e2005642] blender-v2.91-release: Fix T82495: assert with cast modifier in edit-mode
Campbell Barton
noreply at git.blender.org
Mon Nov 9 09:04:03 CET 2020
Commit: 067e200564243a63de3cfd7ba977a625c3267e62
Author: Campbell Barton
Date: Mon Nov 9 19:01:48 2020 +1100
Branches: blender-v2.91-release
https://developer.blender.org/rB067e200564243a63de3cfd7ba977a625c3267e62
Fix T82495: assert with cast modifier in edit-mode
===================================================================
M source/blender/modifiers/intern/MOD_cast.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_cast.c b/source/blender/modifiers/intern/MOD_cast.c
index 0a311bc8e5f..185c21af7ad 100644
--- a/source/blender/modifiers/intern/MOD_cast.c
+++ b/source/blender/modifiers/intern/MOD_cast.c
@@ -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). */
More information about the Bf-blender-cvs
mailing list