import_ply.h:

- err == ply::E_NOERROR is not a critical error
This commit is contained in:
granzuglia 2014-08-09 09:46:19 +00:00
parent dd19843fe1
commit 622a67ccc9
1 changed files with 3 additions and 3 deletions

View File

@ -320,9 +320,9 @@ static const char *ErrorMsg(int error)
// to check if a given error is critical or not.
static bool ErrorCritical(int err)
{
if(err == PlyInfo::E_NO_FACE) return false;
return true;
{
if ((err == ply::E_NOERROR) || (err == PlyInfo::E_NO_FACE)) return false;
return true;
}