diff options
author | Antonioya <blendergit@gmail.com> | 2018-07-31 13:44:01 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-07-31 13:44:01 +0300 |
commit | f945303877e65999fbae7a37ba5a223367259396 (patch) | |
tree | ac73eb0ae280ea8616372fa77cc232ba0afbc534 /source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c | |
parent | 0b85bb847c06b2115f135f82bce7bd762354acd4 (diff) |
Cleanup: Fix weird comparisons
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c index 182bd974959..b5f2f0349af 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c @@ -86,7 +86,7 @@ static void deformStroke( MDeformVert *dvert = &gps->dvert[i]; /* verify vertex group */ - weight = get_modifier_point_weight(dvert, (int)(!(mmd->flag & GP_SMOOTH_INVERT_VGROUP) == 0), vindex); + weight = get_modifier_point_weight(dvert, (int)((mmd->flag & GP_SMOOTH_INVERT_VGROUP) != 0), vindex); if (weight < 0) { continue; } |