import_ply.h:
- err == ply::E_NOERROR is not a critical error
This commit is contained in:
parent
dd19843fe1
commit
622a67ccc9
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue