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
This commit is contained in:
Nicholas Bishop
2010-07-07 17:32:50 +00:00
parent 1ff98fb454
commit 6e60e57723

View File

@@ -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:
{