From 6e60e5772330f258ec545d5e00db9b6b5dd8993f Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Wed, 7 Jul 2010 17:32:50 +0000 Subject: [PATCH] Fix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint mode clicking the Levels option * Add a `return 0' to ED_vgroup_give_parray to avoid falling through from mesh to lattice --- source/blender/editors/object/object_vgroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 2235bdd8f2a..ff48e7e349a 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -166,6 +166,8 @@ int ED_vgroup_give_parray(ID *id, MDeformVert ***dvert_arr, int *dvert_tot) return 1; } + else + return 0; } case ID_LT: {