surfaceMeshConvert: Reinstated missing error messages

This commit is contained in:
Henry Weller
2016-04-04 13:53:20 +01:00
parent 486d856b26
commit 266651f1b9

View File

@ -197,6 +197,7 @@ int main(int argc, char *argv[])
if (!csDictIoPtr->headerOk())
{
FatalErrorInFunction
<< "Cannot open coordinateSystems file\n "
<< csDictIoPtr->objectPath() << nl
<< exit(FatalError);
}
@ -240,6 +241,7 @@ int main(int argc, char *argv[])
if (fromCsys.valid() && toCsys.valid())
{
FatalErrorInFunction
<< "Only allowed '-from' or '-to' option at the moment."
<< exit(FatalError);
}
}