diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 00:51:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 00:51:59 +0300 |
commit | 07ab3eec01f812bffccb4e60f532b53ff198f4c8 (patch) | |
tree | 9d5b0cdc3ecb8fa34cb61f0b99ba88e9ec7815d3 /source/blender | |
parent | 2a14807f397c138473fb7ad880f49de154da59c5 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 0f6a4d6f280..4fda6456b10 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -422,8 +422,8 @@ static void gp_stroke_convertcoords(tGPsdata *p, const int mval[2], float out[3] /* apply jitter to stroke */ static void gp_brush_jitter( - bGPdata *gpd, Brush *brush, tGPspoint *pt, const int mval[2], - const float pressure, int r_mval[2], RNG *rng) + bGPdata *gpd, Brush *brush, tGPspoint *pt, const int mval[2], + const float pressure, int r_mval[2], RNG *rng) { float tmp_pressure = pressure; if (brush->gpencil_settings->draw_jitter > 0.0f) { @@ -628,7 +628,7 @@ static short gp_stroke_addpoint( /* Apply jitter to position */ if ((brush->gpencil_settings->flag & GP_BRUSH_GROUP_RANDOM) && - (brush->gpencil_settings->draw_jitter > 0.0f)) + (brush->gpencil_settings->draw_jitter > 0.0f)) { int r_mval[2]; const float jitpress = (brush->gpencil_settings->flag & GP_BRUSH_USE_JITTER_PRESSURE) ? pressure : 1.0f; @@ -668,8 +668,7 @@ static short gp_stroke_addpoint( } /* apply angle of stroke to brush size */ - if (brush->gpencil_settings->draw_angle_factor != 0.0f) - { + if (brush->gpencil_settings->draw_angle_factor != 0.0f) { gp_brush_angle(gpd, brush, pt, mval); } |