From 792a481bee4352478f624927680e7aa0eaeb2267 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 7 Apr 2022 14:34:51 +1000 Subject: Cleanup: clang-format --- source/blender/editors/sculpt_paint/sculpt_paint_color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_paint_color.c') diff --git a/source/blender/editors/sculpt_paint/sculpt_paint_color.c b/source/blender/editors/sculpt_paint/sculpt_paint_color.c index cc4392c6a8a..fe83fade055 100644 --- a/source/blender/editors/sculpt_paint/sculpt_paint_color.c +++ b/source/blender/editors/sculpt_paint/sculpt_paint_color.c @@ -158,7 +158,7 @@ static void do_paint_brush_task_cb_ex(void *__restrict userdata, float noise = 1.0f; const float density = ss->cache->paint_brush.density; if (density < 1.0f) { - const float hash_noise = (float) BLI_hash_int_01(ss->cache->density_seed * 1000 * vd.index); + const float hash_noise = (float)BLI_hash_int_01(ss->cache->density_seed * 1000 * vd.index); if (hash_noise > density) { noise = density * hash_noise; fade = fade * noise; @@ -251,7 +251,7 @@ void SCULPT_do_paint_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode if (SCULPT_stroke_is_first_brush_step_of_symmetry_pass(ss->cache)) { if (SCULPT_stroke_is_first_brush_step(ss->cache)) { - ss->cache->density_seed = (float) BLI_hash_int_01(ss->cache->location[0] * 1000); + ss->cache->density_seed = (float)BLI_hash_int_01(ss->cache->location[0] * 1000); } return; } -- cgit v1.2.3