diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-24 20:07:23 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-24 20:07:23 -0300 |
commit | 75537c661f5b34f4ac6ba478716449c16e953c3b (patch) | |
tree | cfc8989c6a15471f7c288d0313a4f3cf263e856b /scene | |
parent | 72d1f2ef30b69b6dce27353ab28cfb4e7dd9f9a4 (diff) | |
parent | 1cfe20562d732ba33a4f6aee40a2d39237395ab5 (diff) |
Merge pull request #3434 from TheHX/pr-tscn-dependency
Fix .tscn not raising dependency error
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/scene_format_text.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index 0a8eddcc3b..a6cba389f4 100644 --- a/scene/resources/scene_format_text.cpp +++ b/scene/resources/scene_format_text.cpp @@ -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); |