Fix #147797: Geometry Nodes: Assertion in edge calculation for import mesh

To scatter all map edges for original indices we don't need to take
a slice of destination edges.

Pull Request: https://projects.blender.org/blender/blender/pulls/147874
This commit is contained in:
илья _
2025-10-14 16:56:48 +02:00
committed by Hans Goudey
parent 8e1ef54ae9
commit db6bb01938

View File

@@ -421,7 +421,7 @@ void mesh_calc_edges(Mesh &mesh,
array_utils::scatter<int2>(
edge_map.as_span().cast<int2>(),
edge_map_to_result_index.as_span().slice(edge_offsets[task_index]),
edge_verts.slice(edge_offsets[task_index]));
edge_verts);
});
calc_edges::update_edge_indices_in_face_loops(