You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Merge pull request #22524 from DualMatrix/error_spam_3_please_be_final
Fixed error spam when selecting root in remote tree
This commit is contained in:
@@ -502,9 +502,13 @@ 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")) {
|
||||||
|
if (String(var).empty())
|
||||||
|
var = RES();
|
||||||
|
else
|
||||||
var = ResourceLoader::load(var);
|
var = ResourceLoader::load(var);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
debugObj->prop_values[pinfo.name] = var;
|
debugObj->prop_values[pinfo.name] = var;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user