From 35248a03bed7f56fca36ad9727b6f2d3ab374989 Mon Sep 17 00:00:00 2001 From: DualMatrix Date: Sat, 8 Sep 2018 00:48:12 +0200 Subject: [PATCH] Fixed error spam when inspecting remote tree Fixed error spam when inspecting remote tree, fixes #20365 --- core/script_debugger_remote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/script_debugger_remote.cpp b/core/script_debugger_remote.cpp index 2b9b5d60374..d97d59d3104 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());