From 1680e9e77f7461b4cb170c494867fdbb5bb25cbe Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 8 Feb 2025 16:14:05 +0100 Subject: [PATCH] Don't send TRANSLATION_CHANGED outside tree --- scene/main/node.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scene/main/node.cpp b/scene/main/node.cpp index f5bc3344dd4..3e6688aaad0 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -1378,7 +1378,10 @@ void Node::_propagate_translation_domain_dirty() { child->_propagate_translation_domain_dirty(); } } - notification(NOTIFICATION_TRANSLATION_CHANGED); + + if (is_inside_tree() && data.auto_translate_mode != AUTO_TRANSLATE_MODE_DISABLED) { + notification(NOTIFICATION_TRANSLATION_CHANGED); + } } StringName Node::get_name() const {