Add editor setting to keep bottom panel state on play and stop game
This commit is contained in:
parent
7abe0c6014
commit
76205d4276
6 changed files with 29 additions and 19 deletions
|
|
@ -268,11 +268,7 @@ Error EditorDebuggerNode::start(const String &p_uri) {
|
|||
}
|
||||
stop(true);
|
||||
current_uri = p_uri;
|
||||
if (EDITOR_GET("run/output/always_open_output_on_play")) {
|
||||
EditorNode::get_bottom_panel()->make_item_visible(EditorNode::get_log());
|
||||
} else {
|
||||
EditorNode::get_bottom_panel()->make_item_visible(this);
|
||||
}
|
||||
|
||||
server = Ref<EditorDebuggerServer>(EditorDebuggerServer::create(p_uri.substr(0, p_uri.find("://") + 3)));
|
||||
const Error err = server->start(p_uri);
|
||||
if (err != OK) {
|
||||
|
|
|
|||
|
|
@ -1008,7 +1008,6 @@ void ScriptEditorDebugger::start(Ref<RemoteDebuggerPeer> p_peer) {
|
|||
set_process(true);
|
||||
camera_override = CameraOverride::OVERRIDE_NONE;
|
||||
|
||||
tabs->set_current_tab(0);
|
||||
_set_reason_text(TTR("Debug session started."), MESSAGE_SUCCESS);
|
||||
_update_buttons_state();
|
||||
emit_signal(SNAME("started"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue