diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-14 12:18:35 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-14 12:21:08 +0200 |
commit | e614bc0b5c4ddd901262575a2bcac0c3dce22491 (patch) | |
tree | a78d4f9b8a1b8cad74f8a3e57d356c9bcf9a48e1 /scene | |
parent | e41bdd4c3ee4e9146ec38b17b70a4a28f38f1b4d (diff) |
Fix display of programmatically created value in remote inspector
Diffstat (limited to 'scene')
-rw-r--r-- | scene/debugger/scene_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |