From a40b59d270effc9f81e18fddc3af1a0e7ea9e6dc Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 12 Jun 2021 19:39:34 +0200 Subject: [PATCH] Fix game camera override tooltips being swapped Previously, the wrong tooltip was shown. This also tweaks the tooltips' texts to be clearer and remove references to "game" (since Godot is used for more than just games). (cherry picked from commit d1c5dd5b6876b7951292e0d4a825f388d3e25a36) --- editor/plugins/spatial_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index ce7a4f28f7b..aa6f0ff0607 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -4875,11 +4875,11 @@ void SpatialEditor::_update_camera_override_button(bool p_game_running) { if (p_game_running) { button->set_disabled(false); - button->set_tooltip(TTR("Game Camera Override\nNo game instance running.")); + button->set_tooltip(TTR("Project Camera Override\nOverrides the running project's camera with the editor viewport camera.")); } else { button->set_disabled(true); button->set_pressed(false); - button->set_tooltip(TTR("Game Camera Override\nOverrides game camera with editor viewport camera.")); + button->set_tooltip(TTR("Project Camera Override\nNo project instance running. Run the project from the editor to use this feature.")); } }