Skip to content

Commit

Permalink
Merge pull request #32416 from bojidar-bg/32415-shared-metadata
Browse files Browse the repository at this point in the history
Ensure object metadata is unique
  • Loading branch information
akien-mga authored Oct 28, 2019
2 parents aaa9751 + 0b25199 commit 7d710a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7d710a7

Please sign in to comment.