瀏覽代碼

Merge pull request #21850 from DualMatrix/error_spam

Fixed error spam when inspecting remote tree
Rémi Verschelde 7 年之前
父節點
當前提交
5007b415c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/script_debugger_remote.cpp

+ 1 - 1
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());