Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-07-31 13:44:01 +0300
committerAntonioya <blendergit@gmail.com>2018-07-31 13:44:01 +0300
commitf945303877e65999fbae7a37ba5a223367259396 (patch)
treeac73eb0ae280ea8616372fa77cc232ba0afbc534 /source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c
parent0b85bb847c06b2115f135f82bce7bd762354acd4 (diff)
Cleanup: Fix weird comparisons
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c
index 50ff3f8766a..a31f889c48a 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciloffset.c
@@ -89,7 +89,7 @@ static void deformStroke(
MDeformVert *dvert = &gps->dvert[i];
/* verify vertex group */
- float weight = get_modifier_point_weight(dvert, (int)(!(mmd->flag & GP_OFFSET_INVERT_VGROUP) == 0), vindex);
+ float weight = get_modifier_point_weight(dvert, (int)((mmd->flag & GP_OFFSET_INVERT_VGROUP) != 0), vindex);
if (weight < 0) {
continue;
}