diff options
author | Jacques Lucke <jacques@blender.org> | 2022-07-02 12:45:57 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-07-02 12:45:57 +0300 |
commit | 5d9ade27de54b6910ed32f92d20d8f692959603c (patch) | |
tree | 1dd2c2002178291273f0809284fbc6660a14ca70 /source/blender/blenkernel/BKE_attribute_access.hh | |
parent | 3c60d62dba1214378c3348563167385385f6a539 (diff) |
BLI: improve span access to virtual arrays
* Make the class names more consistent.
* Implement missing move-constructors and assignment-operators.
Diffstat (limited to 'source/blender/blenkernel/BKE_attribute_access.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_attribute_access.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh index fef91d6f75d..9648b5b7cde 100644 --- a/source/blender/blenkernel/BKE_attribute_access.hh +++ b/source/blender/blenkernel/BKE_attribute_access.hh @@ -218,7 +218,7 @@ struct WriteAttributeLookup { * Supported convenience features: * - Implicit type conversion when writing to builtin attributes. * - Supports simple access to a span containing the attribute values (that avoids the use of - * VMutableArray_Span in many cases). + * MutableVArraySpan in many cases). * - An output attribute can live side by side with an existing attribute with a different domain * or data type. The old attribute will only be overwritten when the #save function is called. * @@ -234,7 +234,7 @@ class OutputAttribute { GVMutableArray varray_; eAttrDomain domain_ = ATTR_DOMAIN_AUTO; SaveFn save_; - std::unique_ptr<GVMutableArray_GSpan> optional_span_varray_; + std::unique_ptr<GMutableVArraySpan> optional_span_varray_; bool ignore_old_values_ = false; bool save_has_been_called_ = false; |