diff options
author | Hans Goudey <h.goudey@me.com> | 2020-07-03 16:41:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-07-03 16:41:55 +0300 |
commit | 19ff145e666633cebeae97cf985c968d39044215 (patch) | |
tree | 0d1d52925a870127fbb4fbd2d512338dcf358c33 /source/blender/editors/sculpt_paint | |
parent | ffef562bf7792081c252118b22218647170117cf (diff) |
Clang-Tidy: Enable readability-redundant-control-flow
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_cloth.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_uv.c | 4 |
3 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index dfb8f03fa6e..a15d7a732f1 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -5906,8 +5906,6 @@ static void project_state_init(bContext *C, Object *ob, ProjPaintState *ps, int ps->dither = settings->imapaint.dither; ps->use_colormanagement = BKE_scene_check_color_management_enabled(CTX_data_scene(C)); - - return; } void *paint_proj_new_stroke(bContext *C, Object *ob, const float mouse[2], int mode) diff --git a/source/blender/editors/sculpt_paint/sculpt_cloth.c b/source/blender/editors/sculpt_paint/sculpt_cloth.c index 58f9cdbc867..195e6512291 100644 --- a/source/blender/editors/sculpt_paint/sculpt_cloth.c +++ b/source/blender/editors/sculpt_paint/sculpt_cloth.c @@ -671,8 +671,6 @@ void SCULPT_do_cloth_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int totnode /* Update and write the simulation to the nodes. */ cloth_brush_do_simulation_step(sd, ob, ss->cache->cloth_sim, nodes, totnode); - - return; } void SCULPT_cloth_simulation_free(struct SculptClothSimulation *cloth_sim) diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c index d6b259c9ac0..4b3df2dfea2 100644 --- a/source/blender/editors/sculpt_paint/sculpt_uv.c +++ b/source/blender/editors/sculpt_paint/sculpt_uv.c @@ -228,8 +228,6 @@ static void HC_relaxation_iteration_uv(BMEditMesh *em, } MEM_freeN(tmp_uvdata); - - return; } static void laplacian_relaxation_iteration_uv(BMEditMesh *em, @@ -302,8 +300,6 @@ static void laplacian_relaxation_iteration_uv(BMEditMesh *em, } MEM_freeN(tmp_uvdata); - - return; } static void uv_sculpt_stroke_apply(bContext *C, |