mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Merge pull request #54987 from KoBeWi/@@Node2D@@69@@420@@@
This commit is contained in:
commit
23342ac23c
@ -896,7 +896,7 @@ void Node::set_name(const String &p_name) {
|
||||
data.name = name;
|
||||
|
||||
if (data.parent) {
|
||||
data.parent->_validate_child_name(this);
|
||||
data.parent->_validate_child_name(this, true);
|
||||
}
|
||||
|
||||
propagate_notification(NOTIFICATION_PATH_RENAMED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user