summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-29 17:03:14 +0200
committerGitHub <noreply@github.com>2019-04-29 17:03:14 +0200
commit8f337b6652f63c31eba00a285fffaaeabfb66a0b (patch)
treebbe03ec1f4074e8df11f5ffe0b20420421594bd0
parent554c0ea90b4bc3b94d2c9a357d6f9c1db93abfe7 (diff)
parent9f16a67754f4918cb63eea999f265f50982d9ec8 (diff)
Merge pull request #28407 from erammos/debugger_inspector_fix
Debugger's inspector doesn't clear it values on every debug action
-rw-r--r--editor/script_editor_debugger.cpp5
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();