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 d1c5dd5b68
)
This commit is contained in:
parent
63d0485a6a
commit
dd70aea77c
1 changed files with 2 additions and 2 deletions
|
@ -4766,11 +4766,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("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."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue