Merge pull request #32416 from bojidar-bg/32415-shared-metadata
Ensure object metadata is unique
This commit is contained in:
commit
7d710a745e
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ void Object::set(const StringName &p_name, const Variant &p_value, bool *r_valid
|
|||
|
||||
} else if (p_name == CoreStringNames::get_singleton()->_meta) {
|
||||
//set_meta(p_name,p_value);
|
||||
metadata = p_value;
|
||||
metadata = p_value.duplicate();
|
||||
if (r_valid)
|
||||
*r_valid = true;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue