diff --git a/source/blender/src/editdeform.c b/source/blender/src/editdeform.c index b7a2f43ea3a..62128be9a73 100644 --- a/source/blender/src/editdeform.c +++ b/source/blender/src/editdeform.c @@ -302,6 +302,9 @@ void remove_vert_def_nr (Object *ob, int def_nr, int vertnum) dvert = lt->dvert + vertnum; } + if(dvert==NULL) + return; + /* for all of the deform weights in the * deform vert */