diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-11-06 17:15:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-11-06 17:15:45 +0300 |
commit | 296a8ca146e088ecea63b1b025e099307a7fc459 (patch) | |
tree | 80b59dbe5b409c6b898ec8aa039a19742f4380d5 /source/blender/blenkernel/intern | |
parent | 6142ae3785dc62ccb187a345e02981494e7085bf (diff) |
Bugfix:
Mesh deform invert vertex group influence didn't work entirely correct.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 8e60964c28d..743926ed91b 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -5080,7 +5080,7 @@ static void meshdeformModifier_do( if(mmd->flag & MOD_MDEF_INVERT_VGROUP) { if(!dw) fac= 1.0f; - else if(dw->weight == 0.0f) continue; + else if(dw->weight == 1.0f) continue; else fac=1.0f-dw->weight; } else { |