diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-07 21:32:50 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2010-07-07 21:32:50 +0400 |
commit | 6e60e5772330f258ec545d5e00db9b6b5dd8993f (patch) | |
tree | 2b84573d80fffcd7ef06f73b767d2c606a53d5d3 /source/blender/editors/object/object_vgroup.c | |
parent | 1ff98fb454477dafa88a5499ad97511e571ce17a (diff) |
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
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: { |