summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-24 20:07:23 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-24 20:07:23 -0300
commit75537c661f5b34f4ac6ba478716449c16e953c3b (patch)
treecfc8989c6a15471f7c288d0313a4f3cf263e856b /scene
parent72d1f2ef30b69b6dce27353ab28cfb4e7dd9f9a4 (diff)
parent1cfe20562d732ba33a4f6aee40a2d39237395ab5 (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.cpp3
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);