diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-09 11:01:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-09 11:01:48 +0300 |
commit | 067e200564243a63de3cfd7ba977a625c3267e62 (patch) | |
tree | 13b63bb10bb01ee99b7f07b8d1fb27a189b1b665 /source/blender/modifiers/intern | |
parent | 06dac0a453208a81ea6386aa2c648d096f6b6366 (diff) |
Fix T82495: assert with cast modifier in edit-mode
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cast.c | 2 |
1 files changed, 1 insertions, 1 deletions
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). */ |