Merge pull request #44657 from timothyqiu/inspect-dynamic-3.2

[3.x] Fix display of programmatically created value in remote inspector
This commit is contained in:
Rémi Verschelde 2021-05-14 10:23:27 +02:00 committed by GitHub
commit 9d1770d4fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -675,7 +675,7 @@ void ScriptDebuggerRemote::_send_object_id(ObjectID p_id) {
prop.push_back(pi.hint_string);
prop.push_back(pi.usage);
if (!res.is_null()) {
if (!res.is_null() && !res->get_path().empty()) {
var = res->get_path();
}