[Bf-blender-cvs] [07ab3eec01f] blender2.8: Cleanup: style
Campbell Barton
noreply at git.blender.org
Wed Sep 12 23:49:19 CEST 2018
Commit: 07ab3eec01f812bffccb4e60f532b53ff198f4c8
Author: Campbell Barton
Date: Thu Sep 13 07:51:59 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB07ab3eec01f812bffccb4e60f532b53ff198f4c8
Cleanup: style
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list