summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-24 19:05:32 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-24 19:05:32 -0300
commit1cfe20562d732ba33a4f6aee40a2d39237395ab5 (patch)
tree165520d3cf352ed402d315bd60c87578e3bd0c34
parentc247f5ad61f2575c321fb8117ed4212611e8cdf4 (diff)
Fix .tscn not raising dependency error
-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 2f18e70d7f..d0b5d8cef9 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);