Merge pull request #28407 from erammos/debugger_inspector_fix

Debugger's inspector doesn't clear it values on every debug action
This commit is contained in:
Rémi Verschelde 2019-04-29 17:03:14 +02:00 committed by GitHub
commit 8f337b6652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();