mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove ERR_EXPLAIN from scene/* code
This commit is contained in:
parent
d2a67c9c1f
commit
af5e0fff66
36 changed files with 157 additions and 473 deletions
|
@ -1366,8 +1366,7 @@ String ResourceFormatSaverTextInstance::_write_resource(const RES &res) {
|
|||
String path = relative_paths ? local_path.path_to_file(res->get_path()) : res->get_path();
|
||||
return "Resource( \"" + path + "\" )";
|
||||
} else {
|
||||
ERR_EXPLAIN("Resource was not pre cached for the resource section, bug?");
|
||||
ERR_FAIL_V("null");
|
||||
ERR_FAIL_V_MSG("null", "Resource was not pre cached for the resource section, bug?");
|
||||
//internal resource
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue