From f945303877e65999fbae7a37ba5a223367259396 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 31 Jul 2018 12:44:01 +0200 Subject: Cleanup: Fix weird comparisons --- source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilsmooth.c') 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; } -- cgit v1.2.3