[Bf-blender-cvs] [9025101] master: Cycles Standalone: Exit when no xml file can be found.
Thomas Dinges
noreply at git.blender.org
Fri Feb 7 22:32:02 CET 2014
Commit: 9025101122d182257958501d4b10fe15e91757e5
Author: Thomas Dinges
Date: Fri Feb 7 22:29:49 2014 +0100
https://developer.blender.org/rB9025101122d182257958501d4b10fe15e91757e5
Cycles Standalone: Exit when no xml file can be found.
===================================================================
M intern/cycles/app/cycles_xml.cpp
===================================================================
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index ac8d1c1..d124ed8 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 */
More information about the Bf-blender-cvs
mailing list