diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.c b/source/blender/modifiers/intern/MOD_weightvg_util.c index 3e1c2f9bc02..871da8dfba9 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.c +++ b/source/blender/modifiers/intern/MOD_weightvg_util.c @@ -135,8 +135,9 @@ void weightvg_do_mask(const ModifierEvalContext *ctx, int i; /* If influence factor is null, nothing to do! */ - if (fact == 0.0f) + if (fact == 0.0f) { return; + } /* If we want to mask vgroup weights from a texture. */ if (texture != NULL) { |