File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,16 @@ int main(int argc, char* const argv[])
211211 }
212212 else
213213 {
214- std::cout << " Unknown file type (only GML/XML and POLY accepted)" << std::endl;
215- ioerrs.add_error (901 , " Unknown file type (only GML/XML and POLY accepted)" );
214+ lsSolids = read3dAssimpfile (inputfile.getValue (), ioerrs);
215+ if (ioerrs.has_errors () == true ) {
216+ std::cout << " Errors while reading the input file, aborting." << std::endl;
217+ std::cout << ioerrs.get_report_text () << std::endl;
218+ }
219+ if (ishellfiles.getValue ().size () > 0 )
220+ {
221+ std::cout << " No inner shells allowed when GML file used as input." << std::endl;
222+ ioerrs.add_error (901 , " No inner shells allowed when GML file used as input." );
223+ }
216224 }
217225
218226 // -- now the validation starts
You can’t perform that action at this time.
0 commit comments