소스 검색

Fix display of programmatically created value in remote inspector

Fabio Alessandrelli 4 년 전
부모
커밋
e614bc0b5c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 		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