summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-10 17:30:55 +0200
committerGitHub <noreply@github.com>2018-09-10 17:30:55 +0200
commit5007b415c1bfd4dd9e1c5dc3b58e1ad8e878c0f8 (patch)
treee167f254276b1a021ec509233026b192955fff7d
parent6d7a8a6caa225bca2e07bf1d3d196e841ce47e28 (diff)
parent35248a03bed7f56fca36ad9727b6f2d3ab374989 (diff)
Merge pull request #21850 from DualMatrix/error_spam
Fixed error spam when inspecting remote tree
-rw-r--r--core/script_debugger_remote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/script_debugger_remote.cpp b/core/script_debugger_remote.cpp
index 2b9b5d6037..d97d59d310 100644
--- a/core/script_debugger_remote.cpp
+++ b/core/script_debugger_remote.cpp
@@ -661,7 +661,7 @@ void ScriptDebuggerRemote::_send_object_id(ObjectID p_id) {
prop.push_back(Variant());
} else {
prop.push_back(pi.hint);
- if (res.is_null())
+ if (res.is_null() || res->get_path().empty())
prop.push_back(pi.hint_string);
else
prop.push_back(String("RES:") + res->get_path());