Fix for fix in own recent commit for modifier vertex groups,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 30 Jan 2010 03:47:13 +0000 (03:47 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 30 Jan 2010 03:47:13 +0000 (03:47 +0000)
should have only changed one value to 0.0.

source/blender/blenkernel/intern/deform.c

index e9837301458a2527079fad8aaba0351f7fe175a9..6c873bc262e7c323c0bb7fc360257b71aaf55fb7 100644 (file)
@@ -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);
 }