From 1cfe20562d732ba33a4f6aee40a2d39237395ab5 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Sun, 24 Jan 2016 19:05:32 -0300 Subject: Fix .tscn not raising dependency error --- scene/resources/scene_format_text.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3