|
@@ -570,11 +570,12 @@ void ScriptEditorDebugger::_notification(int p_what) {
|
|
ppeer->set_stream_peer(connection);
|
|
ppeer->set_stream_peer(connection);
|
|
|
|
|
|
|
|
|
|
- show();
|
|
|
|
|
|
+ if (!always_visible)
|
|
|
|
+ show();
|
|
|
|
+
|
|
dobreak->set_disabled(false);
|
|
dobreak->set_disabled(false);
|
|
tabs->set_current_tab(0);
|
|
tabs->set_current_tab(0);
|
|
|
|
|
|
- emit_signal("show_debugger",true);
|
|
|
|
reason->set_text("Child Process Connected");
|
|
reason->set_text("Child Process Connected");
|
|
reason->set_tooltip("Child Process Connected");
|
|
reason->set_tooltip("Child Process Connected");
|
|
scene_tree->clear();
|
|
scene_tree->clear();
|
|
@@ -770,9 +771,7 @@ void ScriptEditorDebugger::_stack_dump_frame_selected() {
|
|
|
|
|
|
void ScriptEditorDebugger::_hide_request() {
|
|
void ScriptEditorDebugger::_hide_request() {
|
|
|
|
|
|
- hide();
|
|
|
|
emit_signal("show_debugger",false);
|
|
emit_signal("show_debugger",false);
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
void ScriptEditorDebugger::_output_clear() {
|
|
void ScriptEditorDebugger::_output_clear() {
|
|
@@ -1162,10 +1161,23 @@ void ScriptEditorDebugger:: _error_stack_selected(int p_idx){
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
void ScriptEditorDebugger::set_hide_on_stop(bool p_hide) {
|
|
void ScriptEditorDebugger::set_hide_on_stop(bool p_hide) {
|
|
|
|
|
|
hide_on_stop=p_hide;
|
|
hide_on_stop=p_hide;
|
|
}
|
|
}
|
|
|
|
+=======
|
|
|
|
+void ScriptEditorDebugger::set_always_visible(bool p_visible) {
|
|
|
|
+
|
|
|
|
+ always_visible=p_visible;
|
|
|
|
+
|
|
|
|
+ if (p_visible)
|
|
|
|
+ show();
|
|
|
|
+ else
|
|
|
|
+ hide();
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+>>>>>>> c3db5d951c1ee938a0c789c78a9bb8045ef8605b
|
|
|
|
|
|
void ScriptEditorDebugger::_bind_methods() {
|
|
void ScriptEditorDebugger::_bind_methods() {
|
|
|
|
|
|
@@ -1461,6 +1473,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor){
|
|
add_child(msgdialog);
|
|
add_child(msgdialog);
|
|
|
|
|
|
hide();
|
|
hide();
|
|
|
|
+ always_visible=false;
|
|
log_forced_visible=false;
|
|
log_forced_visible=false;
|
|
|
|
|
|
p_editor->get_undo_redo()->set_method_notify_callback(_method_changeds,this);
|
|
p_editor->get_undo_redo()->set_method_notify_callback(_method_changeds,this);
|