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>2021-06-04 11:44:01 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-06-04 11:44:01 +0300
commit77d7cae2669a6fa37b75a4c474b9c6c6fe3795c3 (patch)
treefd9fb3bc6d9d44be130943e9efdbb13f775a6849
parentf4e0a19d4f1b656c2159d3cdd944d31ebaf9dba5 (diff)
GPencil: Cleanup unneeded variable assign
The variable is assigned below again and the initial value is not used.
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
index ea37558fa7f..9f03e493ea8 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
@@ -204,8 +204,6 @@ static void deformStroke(GpencilModifierData *md,
/* Fill using opacity factor. */
if (mmd->modify_color != GP_MODIFY_COLOR_STROKE) {
- gps->fill_opacity_fac = mmd->factor;
-
float factor_depth = give_opacity_fading_factor(mmd, ob, ob->obmat[3], true);
gps->fill_opacity_fac = interpf(mmd->factor, mmd->fading_end_factor, factor_depth);