Fix for fix in own recent commit for modifier vertex groups,

should have only changed one value to 0.0.
This commit is contained in:
Brecht Van Lommel 2010-01-30 03:47:13 +00:00
parent 3d9988cde7
commit d86a9da07c

@ -493,7 +493,7 @@ float defvert_find_weight(const struct MDeformVert *dvert, int group_num)
float defvert_array_find_weight_safe(const struct MDeformVert *dvert, int index, int group_num)
{
if(group_num == -1 || dvert == NULL)
return 0.0f;
return 1.0f;
return defvert_find_weight(dvert+index, group_num);
}