diff options
| author | geequlim | 2017-08-02 22:31:43 +0800 |
|---|---|---|
| committer | geequlim | 2017-08-02 22:31:43 +0800 |
| commit | 21f2fff82ec67e30fbc383dc1097b2e34d2d7f6e (patch) | |
| tree | b3343b44c6d1e8f14b6a596a46909852061ccf3a | |
| parent | 04ff3e42383f6289253010230ab882f9b2130ea0 (diff) | |
| download | godot-21f2fff82ec67e30fbc383dc1097b2e34d2d7f6e.tar.gz godot-21f2fff82ec67e30fbc383dc1097b2e34d2d7f6e.tar.zst godot-21f2fff82ec67e30fbc383dc1097b2e34d2d7f6e.zip | |
Don't re-query remote object while debugging every frame
| -rw-r--r-- | editor/script_editor_debugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index d346a03d4..454e09b7e 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -997,6 +997,7 @@ void ScriptEditorDebugger::_notification(int p_what) { msg.push_back("inspect_object"); msg.push_back(inspected_object_id); ppeer->put_var(msg); + inspected_object_id = 0; } } } @@ -1010,6 +1011,7 @@ void ScriptEditorDebugger::_notification(int p_what) { msg.push_back("inspect_object"); msg.push_back(inspected_object_id); ppeer->put_var(msg); + inspected_object_id = 0; } } } |
