From 9f16a67754f4918cb63eea999f265f50982d9ec8 Mon Sep 17 00:00:00 2001 From: Elias Rammos Date: Wed, 24 Apr 2019 21:53:26 +0300 Subject: Debugger's inspector doesn't clear it values on every debug action --- editor/script_editor_debugger.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'editor') diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 717d6bc8f6..82117b9505 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -210,7 +210,6 @@ void ScriptEditorDebugger::debug_next() { msg.push_back("next"); ppeer->put_var(msg); stack_dump->clear(); - inspector->edit(NULL); } void ScriptEditorDebugger::debug_step() { @@ -222,7 +221,6 @@ void ScriptEditorDebugger::debug_step() { msg.push_back("step"); ppeer->put_var(msg); stack_dump->clear(); - inspector->edit(NULL); } void ScriptEditorDebugger::debug_break() { @@ -436,7 +434,6 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da emit_signal("breaked", false, false, Variant()); profiler->set_enabled(true); profiler->disable_seeking(); - inspector->edit(NULL); EditorNode::get_singleton()->get_pause_button()->set_pressed(false); } else if (p_msg == "message:click_ctrl") { @@ -1337,7 +1334,7 @@ void ScriptEditorDebugger::stop() { profiler->set_enabled(true); inspect_scene_tree->clear(); - + inspector->edit(NULL); EditorNode::get_singleton()->get_pause_button()->set_pressed(false); EditorNode::get_singleton()->get_pause_button()->set_disabled(true); EditorNode::get_singleton()->get_scene_tree_dock()->hide_remote_tree(); -- cgit v1.2.3