Fix #31117: Segfault when removing Meshdeform Modifier
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 28 Apr 2012 09:32:55 +0000 (09:32 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 28 Apr 2012 09:32:55 +0000 (09:32 +0000)
source/blender/editors/object/object_modifier.c

index cd2fa4f93b6b8bbfcdeed0d1fb6268a7c4506e21..445047ac321a30bd934aea9e7c015ce02fb637dc 100644 (file)
@@ -1343,6 +1343,7 @@ static int meshdeform_bind_exec(bContext *C, wmOperator *op)
                mmd->bindcagecos= NULL;
                mmd->dyngrid= NULL;
                mmd->dyninfluences= NULL;
+               mmd->bindinfluences= NULL;
                mmd->bindoffsets= NULL;
                mmd->dynverts= NULL;
                mmd->bindweights= NULL; /* deprecated */