Geometry Nodes: Add "Corners of Edge" node #107968

Merged
Hans Goudey merged 15 commits from F_Scociety/blender:corners_of_edge into main 2023-05-31 15:25:54 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b923448ac7 - Show all commits

View File

@ -61,7 +61,7 @@ class CornersOfEdgeInput final : public bke::MeshFieldInput {
{
const IndexRange edge_range(mesh.totedge);
const Span<int> corner_edges = mesh.corner_edges();
Array<Vector<int>> edge_to_loop_map = bke::mesh_topology::build_edge_to_loop_map(corner_edges,
const Array<Vector<int>> edge_to_loop_map = bke::mesh_topology::build_edge_to_loop_map(corner_edges,
F_Scociety marked this conversation as resolved Outdated

edge_to_loop_map can be const

`edge_to_loop_map` can be const
mesh.totedge);
const bke::MeshFieldContext context{mesh, domain};