From 067e200564243a63de3cfd7ba977a625c3267e62 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 9 Nov 2020 19:01:48 +1100 Subject: Fix T82495: assert with cast modifier in edit-mode --- source/blender/modifiers/intern/MOD_cast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). */ -- cgit v1.2.3