summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-29 13:13:13 +0100
committerGitHub <noreply@github.com>2021-11-29 13:13:13 +0100
commit89a4ab6c117ea839fd04367d1a8ab308e040935d (patch)
tree08ce4f0bd65762a0a1dd387c50c0b00a43a5893b /scene
parentd6d20d0926be19fb478726b75baef1b3a7603065 (diff)
parente614bc0b5c4ddd901262575a2bcac0c3dce22491 (diff)
Merge pull request #48717 from Faless/debugger/4.x_custom_res_fix
Diffstat (limited to 'scene')
-rw-r--r--scene/debugger/scene_debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp
index 3c8949ddfb..56c04b32e3 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