Cycles Standalone: Exit when no xml file can be found.

This commit is contained in:
Thomas Dinges 2014-02-07 22:29:49 +01:00
parent f54e3589a4
commit 9025101122
1 changed files with 3 additions and 1 deletions

View File

@ -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 */