Merge pull request #3434 from TheHX/pr-tscn-dependency

Fix .tscn not raising dependency error
This commit is contained in:
Juan Linietsky 2016-01-24 20:07:23 -03:00
commit 75537c661f

View file

@ -85,8 +85,7 @@ Error ResourceInteractiveLoaderText::_parse_ext_resource(VariantParser::Stream*
r_res=ResourceLoader::load(path,type);
if (r_res.is_null()) {
r_err_str="Couldn't load external resource: "+path;
return ERR_PARSE_ERROR;
WARN_PRINT(String("Couldn't load external resource: "+path).utf8().get_data());
}
VariantParser::get_token(p_stream,token,line,r_err_str);