diff options
author | DualMatrix <piet.goris@gmail.com> | 2018-09-08 00:48:12 +0200 |
---|---|---|
committer | DualMatrix <piet.goris@gmail.com> | 2018-09-08 00:48:39 +0200 |
commit | 35248a03bed7f56fca36ad9727b6f2d3ab374989 (patch) | |
tree | 4eeb8b8539467edca6bf3f7f316ca217593873ec | |
parent | f1e5b7cf42010db1251ecef34695367c125f02e1 (diff) |
Fixed error spam when inspecting remote tree
Fixed error spam when inspecting remote tree, fixes #20365
-rw-r--r-- | core/script_debugger_remote.cpp | 2 |
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()); |