Merge pull request #38978 from nekomatata/remote-inspector-res-preview

Fix resource preview in remote inspector
This commit is contained in:
Fabio Alessandrelli 2020-05-25 08:33:21 +02:00 committed by GitHub
commit e7b11cc2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -361,15 +361,6 @@ void SceneDebuggerObject::serialize(Array &r_arr, int p_max_size) {
RES res = var;
if (var.get_type() == Variant::OBJECT && var.is_ref()) {
REF r = var;
if (r.is_valid()) {
res = *r;
} else {
res = RES();
}
}
Array prop;
prop.push_back(pi.name);
prop.push_back(pi.type);