diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-27 22:02:22 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-27 22:50:07 +0300 |
commit | 2f0c40c7a27066755f29b2fb3960052ba4587b1f (patch) | |
tree | 97cbfceb4347d88b71cb1430c3df8e172cca8a5d /source/blender/editors/sculpt_paint/sculpt.c | |
parent | b6ee599d9205814aacd95a2aa09e1dba47e7494d (diff) |
Cleanup: Use signed integers for mesh vertex indices
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |