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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user