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:
authorAntonio Vazquez <blendergit@gmail.com>2020-03-13 13:16:02 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-03-13 13:16:02 +0300
commit36528704831936b5a73a2d7157665bdc85f1c704 (patch)
treedb0a6a67802e6fc8b11169b282f3ba1f9cff5256 /source/blender/gpencil_modifiers
parentde9c7bae7b9e7c66584531953c5acae274c013c2 (diff)
GPencil: Cleanup unneeded check
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
index 2b5a5192b4e..6aaa37d494b 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
@@ -143,7 +143,7 @@ static void deformStroke(GpencilModifierData *md,
return;
}
MaterialGPencilStyle *gp_style = BKE_gpencil_material_settings(ob, gps->mat_nr + 1);
- const bool is_gradient = (mmd->type == GP_TINT_GRADIENT) != 0;
+ const bool is_gradient = (mmd->type == GP_TINT_GRADIENT);
/* If factor > 1.0, affect the strength of the stroke. */
if (mmd->factor > 1.0f) {