Geometry Nodes: Rewrite mesh delete geometry node #108435
|
@ -1191,7 +1191,7 @@ CurvesGeometry curves_copy_curve_selection(
|
|||
MutableAttributeAccessor dst_attributes = dst_curves.attributes_for_write();
|
||||
|
||||
gather_attributes_group_to_group(src_attributes,
|
||||
ATTR_DOMAIN_CURVE,
|
||||
ATTR_DOMAIN_POINT,
|
||||
propagation_info,
|
||||
{},
|
||||
points_by_curve,
|
||||
|
|
|
@ -38,7 +38,7 @@ template<typename T> class OffsetIndices {
|
|||
/** Return the total number of elements in the referenced arrays. */
|
||||
T total_size() const
|
||||
{
|
||||
return offsets_.is_empty() ? 0 : offsets_.last();
|
||||
return offsets_.size() > 1 ? offsets_.last() : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue