From 696b56c1da3e026ad993c98d93c112835557eb35 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 28 Apr 2023 14:19:05 -0400 Subject: [PATCH] Cleanup: Add note about adding attributes while iterating --- source/blender/blenkernel/BKE_attribute.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/blenkernel/BKE_attribute.hh b/source/blender/blenkernel/BKE_attribute.hh index 7c2c238fb0d..379b7b99e8b 100644 --- a/source/blender/blenkernel/BKE_attribute.hh +++ b/source/blender/blenkernel/BKE_attribute.hh @@ -587,6 +587,7 @@ class AttributeAccessor { /** * Run the provided function for every attribute. + * Attributes should not be removed or added during iteration. */ bool for_all(const AttributeForeachCallback fn) const {