[Bf-blender-cvs] [9913196470e] master: Geometry Nodes: use .a_ prefix for anonymous attribute names
Jacques Lucke
noreply at git.blender.org
Mon May 9 11:59:47 CEST 2022
Commit: 9913196470e614ab65785fcf3bb18723906e468d
Author: Jacques Lucke
Date: Mon May 9 11:58:53 2022 +0200
Branches: master
https://developer.blender.org/rB9913196470e614ab65785fcf3bb18723906e468d
Geometry Nodes: use .a_ prefix for anonymous attribute names
Ref T97452.
===================================================================
M source/blender/blenkernel/intern/anonymous_attribute.cc
===================================================================
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)
More information about the Bf-blender-cvs
mailing list