From 2f0c40c7a27066755f29b2fb3960052ba4587b1f Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 27 Sep 2022 14:02:22 -0500 Subject: Cleanup: Use signed integers for mesh vertex indices --- source/blender/editors/sculpt_paint/sculpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 ce00f20b88e..a300edff042 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -799,7 +799,7 @@ static void sculpt_vertex_neighbors_get_faces(SculptSession *ss, continue; } const MPoly *p = &ss->mpoly[vert_map->indices[i]]; - uint f_adj_v[2]; + int f_adj_v[2]; if (poly_get_adj_loops_from_vert(p, ss->mloop, vertex.i, f_adj_v) != -1) { for (int j = 0; j < ARRAY_SIZE(f_adj_v); j += 1) { if (f_adj_v[j] != vertex.i) { -- cgit v1.2.3