Browse Source

SpatialEditor: Revert tooltip rephrasing for Game Camera Override

Partial undo of #49541, keeping the swap fix but also preserving the
existing strings to avoid breaking translations in 3.3.
Rémi Verschelde 4 years ago
parent
commit
1a6c44aaf3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/plugins/spatial_editor_plugin.cpp

+ 2 - 2
editor/plugins/spatial_editor_plugin.cpp

@@ -4875,11 +4875,11 @@ void SpatialEditor::_update_camera_override_button(bool p_game_running) {
 
 
 	if (p_game_running) {
 	if (p_game_running) {
 		button->set_disabled(false);
 		button->set_disabled(false);
-		button->set_tooltip(TTR("Project Camera Override\nOverrides the running project's camera with the editor viewport camera."));
+		button->set_tooltip(TTR("Game Camera Override\nOverrides game camera with editor viewport camera."));
 	} else {
 	} else {
 		button->set_disabled(true);
 		button->set_disabled(true);
 		button->set_pressed(false);
 		button->set_pressed(false);
-		button->set_tooltip(TTR("Project Camera Override\nNo project instance running. Run the project from the editor to use this feature."));
+		button->set_tooltip(TTR("Game Camera Override\nNo game instance running."));
 	}
 	}
 }
 }