Fix .tscn not raising dependency error
This commit is contained in:
parent
c247f5ad61
commit
1cfe20562d
1 changed files with 1 additions and 2 deletions
|
@ -85,8 +85,7 @@ Error ResourceInteractiveLoaderText::_parse_ext_resource(VariantParser::Stream*
|
||||||
r_res=ResourceLoader::load(path,type);
|
r_res=ResourceLoader::load(path,type);
|
||||||
|
|
||||||
if (r_res.is_null()) {
|
if (r_res.is_null()) {
|
||||||
r_err_str="Couldn't load external resource: "+path;
|
WARN_PRINT(String("Couldn't load external resource: "+path).utf8().get_data());
|
||||||
return ERR_PARSE_ERROR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VariantParser::get_token(p_stream,token,line,r_err_str);
|
VariantParser::get_token(p_stream,token,line,r_err_str);
|
||||||
|
|
Loading…
Reference in a new issue