Geometry Nodes: use .a_ prefix for anonymous attribute names

Ref T97452.
This commit is contained in:
Jacques Lucke 2022-05-09 11:58:53 +02:00
parent b651754890
commit 9913196470
Notes: blender-bot 2023-02-21 17:59:30 +01:00
Referenced by issue #97452,  Attribute identification and semantics
1 changed files with 1 additions and 1 deletions

View File

@ -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)