diff options
Diffstat (limited to 'source/blender/functions/FN_attributes_ref.hh')
-rw-r--r-- | source/blender/functions/FN_attributes_ref.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/functions/FN_attributes_ref.hh b/source/blender/functions/FN_attributes_ref.hh index 2af35317827..ed14676731e 100644 --- a/source/blender/functions/FN_attributes_ref.hh +++ b/source/blender/functions/FN_attributes_ref.hh @@ -179,6 +179,11 @@ class MutableAttributesRef { return range_.size(); } + IndexRange index_range() const + { + return IndexRange(this->size()); + } + const AttributesInfo &info() const { return *info_; |