summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-04 10:08:32 +0100
committerGitHub <noreply@github.com>2022-01-04 10:08:32 +0100
commit23342ac23cec4ff366d1bc7bcf70d1a30774f2c4 (patch)
tree89aa77ad669ee8506f47a1c214a4c60a8c7b3588
parentb609ab3b9c92cc0ef1827380700001cf79ca668e (diff)
parent58146a74f7fa79414691000bb50f3cc7833ab2b7 (diff)
Merge pull request #54987 from KoBeWi/@@Node2D@@69@@420@@@
-rw-r--r--scene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index 26c4e01d3f..442d7ae6e6 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -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);