forked from bartvdbraak/blender
Fix T52628: own error in string duplication
Error in 636baa598a56
This commit is contained in:
parent
ce1f2e271d
commit
5d1a5001f4
@ -3331,8 +3331,8 @@ void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
|
||||
void RNA_def_struct_duplicate_pointers(BlenderRNA *brna, StructRNA *srna)
|
||||
{
|
||||
if (srna->identifier) {
|
||||
srna->identifier = BLI_strdup(srna->identifier);
|
||||
if (srna->flag & STRUCT_PUBLIC_NAMESPACE) {
|
||||
srna->identifier = BLI_strdup(srna->identifier);
|
||||
BLI_ghash_replace_key(brna->structs_map, (void *)srna->identifier);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user