summaryrefslogtreecommitdiffstats
path: root/scene/main/node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-12 22:59:38 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-12 22:59:38 +0100
commit5a5b456fca2f6130293c81ab6cbeb9094e87e60a (patch)
tree2c03e7ffe900b8a02c279b4852a0e551f5d0923c /scene/main/node.cpp
parentd443f127ef1db9fb2fe623ba1c17ded5402aff10 (diff)
parent15b8185c68cbf46802834fc629a758d144abaeb6 (diff)
downloadredot-engine-5a5b456fca2f6130293c81ab6cbeb9094e87e60a.tar.gz
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
Diffstat (limited to 'scene/main/node.cpp')
-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 9ce036616b..e730f47607 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -1870,7 +1870,7 @@ void Node::_acquire_unique_name_in_owner() {
Node **which = data.owner->data.owned_unique_nodes.getptr(key);
if (which != nullptr && *which != this) {
String which_path = is_inside_tree() ? (*which)->get_path() : data.owner->get_path_to(*which);
- WARN_PRINT(vformat(RTR("Setting node name '%s' to be unique within scene for '%s', but it's already claimed by '%s'.\n'%s' is no longer set as having a unique name."),
+ WARN_PRINT(vformat("Setting node name '%s' to be unique within scene for '%s', but it's already claimed by '%s'.\n'%s' is no longer set as having a unique name.",
get_name(), is_inside_tree() ? get_path() : data.owner->get_path_to(this), which_path, which_path));
data.unique_name_in_owner = false;
return;