Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-02-08 01:29:49 +0400
committerThomas Dinges <blender@dingto.org>2014-02-08 01:31:38 +0400
commit9025101122d182257958501d4b10fe15e91757e5 (patch)
tree7ff1f4799b922832cfd6c62216bbc8ba9dfb1597 /intern/cycles/app
parentf54e3589a45fa25479050e272abc8f386b8634df (diff)
Cycles Standalone: Exit when no xml file can be found.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/cycles_xml.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index ac8d1c1ce73..d124ed8127f 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -1036,8 +1036,10 @@ static void xml_read_include(const XMLReadState& state, const string& src)
xml_read_scene(substate, doc);
}
- else
+ else {
fprintf(stderr, "%s read error: %s\n", src.c_str(), parse_result.description());
+ exit(EXIT_FAILURE);
+ }
}
/* File */