From e614bc0b5c4ddd901262575a2bcac0c3dce22491 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 14 May 2021 12:18:35 +0200 Subject: Fix display of programmatically created value in remote inspector --- scene/debugger/scene_debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/debugger') diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index a1d4adcd41..a46f6a0197 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -367,7 +367,7 @@ void SceneDebuggerObject::serialize(Array &r_arr, int p_max_size) { PropertyHint hint = pi.hint; String hint_string = pi.hint_string; - if (!res.is_null()) { + if (!res.is_null() && !res->get_path().is_empty()) { var = res->get_path(); } else { //only send information that can be sent.. int len = 0; //test how big is this to encode -- cgit v1.2.3