Browse Source

Merge pull request #48717 from Faless/debugger/4.x_custom_res_fix

Rémi Verschelde 3 years ago
parent
commit
89a4ab6c11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/debugger/scene_debugger.cpp

+ 1 - 1
scene/debugger/scene_debugger.cpp

@@ -367,7 +367,7 @@ void SceneDebuggerObject::serialize(Array &r_arr, int p_max_size) {
 
 
 		PropertyHint hint = pi.hint;
 		PropertyHint hint = pi.hint;
 		String hint_string = pi.hint_string;
 		String hint_string = pi.hint_string;
-		if (!res.is_null()) {
+		if (!res.is_null() && !res->get_path().is_empty()) {
 			var = res->get_path();
 			var = res->get_path();
 		} else { //only send information that can be sent..
 		} else { //only send information that can be sent..
 			int len = 0; //test how big is this to encode
 			int len = 0; //test how big is this to encode