From 35b78d9807c49ba37e038eda85c672c72dee0247 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 15 Mar 2019 08:53:22 +1100 Subject: Cleanup: indentation, wrapping Mostly functions wrapping args, not confirming to our style guide. --- source/blender/editors/sculpt_paint/paint_stroke.c | 6 +++--- source/blender/editors/sculpt_paint/paint_vertex.c | 2 +- source/blender/editors/sculpt_paint/sculpt.c | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index a782ca9a5ec..d66224034eb 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -808,9 +808,9 @@ static void stroke_done(struct bContext *C, struct wmOperator *op) if (stroke->timer) { WM_event_remove_timer( - CTX_wm_manager(C), - CTX_wm_window(C), - stroke->timer); + CTX_wm_manager(C), + CTX_wm_window(C), + stroke->timer); } if (stroke->rng) { diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index f1ada42100d..4149be9c4d1 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -890,7 +890,7 @@ static void do_weight_paint_vertex_multi( } oldw = BKE_defvert_multipaint_collective_weight( - dv_prev, wpi->defbase_tot, wpi->defbase_sel, wpi->defbase_tot_sel, wpi->do_auto_normalize); + dv_prev, wpi->defbase_tot, wpi->defbase_sel, wpi->defbase_tot_sel, wpi->do_auto_normalize); } else { oldw = curw; diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index f1b41ff792a..34c049c0548 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1859,8 +1859,8 @@ static void do_topology_rake_bmesh_task_cb_ex( float tmp[3]; mul_v3_v3fl( - tmp, ss->cache->sculpt_normal_symm, - dot_v3v3(ss->cache->sculpt_normal_symm, direction)); + tmp, ss->cache->sculpt_normal_symm, + dot_v3v3(ss->cache->sculpt_normal_symm, direction)); sub_v3_v3(direction, tmp); /* Cancel if there's no grab data. */ @@ -1880,8 +1880,8 @@ static void do_topology_rake_bmesh_task_cb_ex( { if (sculpt_brush_test_sq_fn(&test, vd.co)) { const float fade = bstrength * tex_strength( - ss, brush, vd.co, sqrtf(test.dist), - vd.no, vd.fno, *vd.mask, tls->thread_id) * ss->cache->pressure; + ss, brush, vd.co, sqrtf(test.dist), + vd.no, vd.fno, *vd.mask, tls->thread_id) * ss->cache->pressure; float avg[3], val[3]; -- cgit v1.2.3