Mesh: Reimplement and unify topology maps #107861

Merged
Hans Goudey merged 14 commits from HooglyBoogly/blender:cleanup-unify-mesh-maps into main 2023-05-24 13:17:03 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit f09fb881d9 - Show all commits

View File

@ -146,7 +146,7 @@ static void build_vert_to_vert_by_edge_map(const Span<int2> edges,
for (const int vert : range) {
MutableSpan<int> neighbors = r_indices.as_mutable_span().slice(offsets[vert]);
for (const int i : neighbors.index_range()) {
neighbors[i] = bke::mesh::edge_other_vert(edges[i], neighbors[i]);
neighbors[i] = bke::mesh::edge_other_vert(edges[neighbors[i]], vert);
}
}
});