diff options
author | Elias Rammos <rammoselias@gmail.com> | 2019-04-24 21:53:26 +0300 |
---|---|---|
committer | Elias Rammos <rammoselias@gmail.com> | 2019-04-25 00:11:34 +0300 |
commit | 9f16a67754f4918cb63eea999f265f50982d9ec8 (patch) | |
tree | 6c2c5e6104351aa80bbb1d36d628d251933083c3 /editor | |
parent | e1d16e722ec9742c3f92d20dc433d540339c36e6 (diff) |
Debugger's inspector doesn't clear it values on every debug action
Diffstat (limited to 'editor')
-rw-r--r-- | editor/script_editor_debugger.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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(); |