Fix display of programmatically created value in remote inspector

This commit is contained in:
Fabio Alessandrelli 2021-05-14 12:18:35 +02:00
parent e41bdd4c3e
commit e614bc0b5c

View File

@ -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