Fixed error spam when selecting root in remote tree
Fixed error spam when selecting root in remote tree
This commit is contained in:
parent
d4df4c1475
commit
75f5fd20a1
|
@ -502,8 +502,12 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
|
||||||
String str = var;
|
String str = var;
|
||||||
var = str.substr(4, str.length());
|
var = str.substr(4, str.length());
|
||||||
|
|
||||||
if (str.begins_with("PATH"))
|
if (str.begins_with("PATH")) {
|
||||||
var = ResourceLoader::load(var);
|
if (String(var).empty())
|
||||||
|
var = RES();
|
||||||
|
else
|
||||||
|
var = ResourceLoader::load(var);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debugObj->prop_values[pinfo.name] = var;
|
debugObj->prop_values[pinfo.name] = var;
|
||||||
|
|
Loading…
Reference in New Issue