diff options
| author | Juan Linietsky | 2017-06-28 17:00:18 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-06-28 17:01:35 -0300 |
| commit | db3b05d2893dcaddeb3bcb10b845ff150eb50895 (patch) | |
| tree | e19d761357300ba03360593e3cbdda01e87f215e /scene/main/scene_tree.cpp | |
| parent | 9e54e1f34f7ee0b100b45fa2388f25096eb90670 (diff) | |
| download | godot-db3b05d2893dcaddeb3bcb10b845ff150eb50895.tar.gz godot-db3b05d2893dcaddeb3bcb10b845ff150eb50895.tar.zst godot-db3b05d2893dcaddeb3bcb10b845ff150eb50895.zip | |
Diffstat (limited to 'scene/main/scene_tree.cpp')
| -rw-r--r-- | scene/main/scene_tree.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 39d546936..479abccda 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -687,7 +687,9 @@ void SceneTree::_notification(int p_notification) { get_root()->propagate_notification(p_notification); } break; case NOTIFICATION_TRANSLATION_CHANGED: { - get_root()->propagate_notification(Node::NOTIFICATION_TRANSLATION_CHANGED); + if (!is_editor_hint()) { + get_root()->propagate_notification(Node::NOTIFICATION_TRANSLATION_CHANGED); + } } break; case NOTIFICATION_WM_UNFOCUS_REQUEST: { |
