You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #38978 from nekomatata/remote-inspector-res-preview
Fix resource preview in remote inspector
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user