Geometry Nodes: Rewrite mesh delete geometry node #108435

Merged
Hans Goudey merged 24 commits from HooglyBoogly/blender:delete-mesh-rewrite into main 2023-06-01 14:55:27 +02:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 7f724964f2 - Show all commits

View File

@ -42,6 +42,9 @@ OffsetIndices<int> gather_selected_offsets(const OffsetIndices<int> src_offsets,
const IndexMask &selection,
MutableSpan<int> dst_offsets)
{
if (selection.is_empty()) {
return {};
}
BLI_assert(selection.size() == (dst_offsets.size() - 1));
offset_indices::gather_group_sizes(src_offsets, selection, dst_offsets);
HooglyBoogly marked this conversation as resolved Outdated

The offset_indices:: is not necessary here.

The `offset_indices::` is not necessary here.
offset_indices::accumulate_counts_to_offsets(dst_offsets);