diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-31 07:54:37 +0300 |
commit | 293f4d88dac4919371e3e9c375f7c4cde803b078 (patch) | |
tree | f8e0d485aafe4f49c71f757617d05de892fa612c /source/blender/gpencil_modifiers/intern | |
parent | 9407456e3f6991f5d703bd6b4e25b18b048d95a9 (diff) |
Cleanup: style, unused variable
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c index ed5feed1455..655a973265e 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c @@ -115,10 +115,10 @@ static void deformStroke( } if (!is_stroke_affected_by_modifier( - ob, - mmd->layername, mmd->pass_index, mmd->layer_pass, 1, gpl, gps, - mmd->flag & GP_NOISE_INVERT_LAYER, mmd->flag & GP_NOISE_INVERT_PASS, - mmd->flag & GP_NOISE_INVERT_LAYERPASS)) + ob, + mmd->layername, mmd->pass_index, mmd->layer_pass, 1, gpl, gps, + mmd->flag & GP_NOISE_INVERT_LAYER, mmd->flag & GP_NOISE_INVERT_PASS, + mmd->flag & GP_NOISE_INVERT_LAYERPASS)) { return; } @@ -182,7 +182,7 @@ static void deformStroke( sc_diff = abs(mmd->scene_frame - sc_frame); /* only recalc if the gp frame change or the number of scene frames is bigger than step */ if ((!gpl->actframe) || (mmd->gp_frame != gpl->actframe->framenum) || - (sc_diff >= mmd->step)) + (sc_diff >= mmd->step)) { vran = mmd->vrand1 = BLI_rng_get_float(mmd->rng); vdir = mmd->vrand2 = BLI_rng_get_float(mmd->rng); |