Fix: crash in mesh topology nodes
This was broken in rBd6c9cd445cb41480b40.
This commit is contained in:
@@ -123,7 +123,7 @@ class CornersOfVertInput final : public bke::MeshFieldInput {
|
||||
corner_of_vertex[selection_i] = corner_indices[sort_indices[index_in_sort_wrapped]];
|
||||
}
|
||||
else {
|
||||
corner_of_vertex[selection_i] = corner_indices[index_in_sort_wrapped];
|
||||
corner_of_vertex[selection_i] = corners[index_in_sort_wrapped];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -124,7 +124,7 @@ class EdgesOfVertInput final : public bke::MeshFieldInput {
|
||||
edge_of_vertex[selection_i] = edge_indices[sort_indices[index_in_sort_wrapped]];
|
||||
}
|
||||
else {
|
||||
edge_of_vertex[selection_i] = edge_indices[index_in_sort_wrapped];
|
||||
edge_of_vertex[selection_i] = edges[index_in_sort_wrapped];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user