From aa7734c9daa7735c105de12e7d884f5d66963aa2 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 29 Jul 2022 23:23:50 -0500 Subject: Cleanup: Clang tidy --- source/blender/editors/sculpt_paint/sculpt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/sculpt_paint/sculpt.c') diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 8f2ad1b63be..2366089cefb 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -757,9 +757,7 @@ static void sculpt_vertex_neighbor_add(SculptVertexNeighborIter *iter, iter->size++; } -static void sculpt_vertex_neighbors_get_bmesh(SculptSession *ss, - PBVHVertRef vertex, - SculptVertexNeighborIter *iter) +static void sculpt_vertex_neighbors_get_bmesh(PBVHVertRef vertex, SculptVertexNeighborIter *iter) { BMVert *v = (BMVert *)vertex.i; BMIter liter; @@ -875,7 +873,7 @@ void SCULPT_vertex_neighbors_get(SculptSession *ss, sculpt_vertex_neighbors_get_faces(ss, vertex, iter); return; case PBVH_BMESH: - sculpt_vertex_neighbors_get_bmesh(ss, vertex, iter); + sculpt_vertex_neighbors_get_bmesh(vertex, iter); return; case PBVH_GRIDS: sculpt_vertex_neighbors_get_grids(ss, vertex, include_duplicates, iter); -- cgit v1.2.3