Geometry Nodes: use .a_ prefix for anonymous attribute names
Ref T97452.
This commit is contained in:
parent
b651754890
commit
9913196470
Notes:
blender-bot
2023-02-21 17:59:30 +01:00
Referenced by issue #97452, Attribute identification and semantics
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue