You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Merge pull request #49541 from Calinou/fix-game-camera-override-tooltip
Fix game camera override tooltips being swapped
This commit is contained in:
@@ -5056,11 +5056,11 @@ void Node3DEditor::_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("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 {
|
} else {
|
||||||
button->set_disabled(true);
|
button->set_disabled(true);
|
||||||
button->set_pressed(false);
|
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."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user