diff options
author | Jacques Lucke <jacques@blender.org> | 2021-07-26 12:43:51 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-07-26 12:43:51 +0300 |
commit | 12afb1995975e4cbe7c9ec82e96c113c9a9198b1 (patch) | |
tree | c9fcc66a24d30575338b16d4e01eef0e8e9eadba /source/blender/draw/intern/draw_cache_extract_mesh_render_data.c | |
parent | 6abf63f463cf124eaeb894c7d728550fca54a239 (diff) |
Cleanup: clang tidy
Diffstat (limited to 'source/blender/draw/intern/draw_cache_extract_mesh_render_data.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_extract_mesh_render_data.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh_render_data.c b/source/blender/draw/intern/draw_cache_extract_mesh_render_data.c index 987996ed696..7327a4fc1fd 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh_render_data.c +++ b/source/blender/draw/intern/draw_cache_extract_mesh_render_data.c @@ -340,10 +340,8 @@ static int *mesh_render_data_mat_tri_len_build(MeshRenderData *mr) return mesh_render_data_mat_tri_len_build_threaded( mr, bm->totface, mesh_render_data_mat_tri_len_bm_range_fn); } - else { - return mesh_render_data_mat_tri_len_build_threaded( - mr, mr->poly_len, mesh_render_data_mat_tri_len_mesh_range_fn); - } + return mesh_render_data_mat_tri_len_build_threaded( + mr, mr->poly_len, mesh_render_data_mat_tri_len_mesh_range_fn); } /** \} */ |