Fix T52176: Bevel doesn't correctly work with default empty Vgroup.
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 26 Jul 2017 14:23:24 +0000 (16:23 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 26 Jul 2017 14:23:24 +0000 (16:23 +0200)
commit66e28a2827ab589756882983e07808742c198cb2
treea22e5d3811976381611b6cd9f6116b4a9f9a9c71
parentedc6bec9d60204cb81d2e7533402630b076d0d32
Fix T52176: Bevel doesn't correctly work with default empty Vgroup.

`defvert_array_find_weight_safe()` was confusing 'invalid vgroup' and
'valid but totally empty vgroup' cases.

Note that this also affected at least ShrinkWrap and SimpleDeform
modifiers.
source/blender/blenkernel/intern/deform.c