1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Fixes display of programmatically created value in remote inspector

(cherry picked from commit e3b7b861b0)
This commit is contained in:
Haoyu Qiu
2020-12-24 22:21:53 +08:00
committed by Rémi Verschelde
parent f6c29d1cf5
commit c804baf6a9

View File

@@ -709,7 +709,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();
}