diff options
Diffstat (limited to 'scene')
-rw-r--r-- | scene/main/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 44420fcc31..444ffa0f4d 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_CHANGED); |