summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-12 22:24:40 +0200
committerGitHub <noreply@github.com>2021-06-12 22:24:40 +0200
commit02b3adc150637c38b6814e7d4b4554de127773cc (patch)
tree9a1984531ef48626c563d263b598cd7ed243b967
parent0024bb3f4eb9ec6808acd0760bb485d3a669bc3e (diff)
parentd1c5dd5b6876b7951292e0d4a825f388d3e25a36 (diff)
Merge pull request #49541 from Calinou/fix-game-camera-override-tooltip
Fix game camera override tooltips being swapped
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 6ab15f763f..2b20f894da 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -5056,11 +5056,11 @@ void Node3DEditor::_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."));
}
}