import_ply.h:
- err == ply::E_NOERROR is not a critical error
This commit is contained in:
parent
dd19843fe1
commit
622a67ccc9
|
@ -321,7 +321,7 @@ static const char *ErrorMsg(int error)
|
||||||
// to check if a given error is critical or not.
|
// to check if a given error is critical or not.
|
||||||
static bool ErrorCritical(int err)
|
static bool ErrorCritical(int err)
|
||||||
{
|
{
|
||||||
if(err == PlyInfo::E_NO_FACE) return false;
|
if ((err == ply::E_NOERROR) || (err == PlyInfo::E_NO_FACE)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue