diff options
author | Jacques Lucke <jacques@blender.org> | 2022-05-09 12:58:53 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-05-09 12:59:27 +0300 |
commit | 9913196470e614ab65785fcf3bb18723906e468d (patch) | |
tree | 85b51b2278594a4d02c03f99484f33281437385e /source/blender | |
parent | b651754890c550e3f174f28399e48012e36ec358 (diff) |
Geometry Nodes: use .a_ prefix for anonymous attribute names
Ref T97452.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/anonymous_attribute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anonymous_attribute.cc b/source/blender/blenkernel/intern/anonymous_attribute.cc index 6ce6bee547c..636e0af0edf 100644 --- a/source/blender/blenkernel/intern/anonymous_attribute.cc +++ b/source/blender/blenkernel/intern/anonymous_attribute.cc @@ -41,7 +41,7 @@ static std::string get_new_internal_name() { static std::atomic<int> index = 0; const int next_index = index.fetch_add(1); - return "anonymous_attribute_" + std::to_string(next_index); + return ".a_" + std::to_string(next_index); } AnonymousAttributeID *BKE_anonymous_attribute_id_new_weak(const char *debug_name) |