Merge pull request #1577 from elect86/patch-14
Update ValidateDataStructure.cpp, typopull/1508/head
commit
3e78bd51d4
|
@ -334,28 +334,28 @@ void ValidateDSProcess::Validate( const aiMesh* pMesh)
|
|||
case 1:
|
||||
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POINT))
|
||||
{
|
||||
ReportError("aiMesh::mFaces[%i] is a POINT but aiMesh::mPrimtiveTypes "
|
||||
ReportError("aiMesh::mFaces[%i] is a POINT but aiMesh::mPrimitiveTypes "
|
||||
"does not report the POINT flag",i);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_LINE))
|
||||
{
|
||||
ReportError("aiMesh::mFaces[%i] is a LINE but aiMesh::mPrimtiveTypes "
|
||||
ReportError("aiMesh::mFaces[%i] is a LINE but aiMesh::mPrimitiveTypes "
|
||||
"does not report the LINE flag",i);
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_TRIANGLE))
|
||||
{
|
||||
ReportError("aiMesh::mFaces[%i] is a TRIANGLE but aiMesh::mPrimtiveTypes "
|
||||
ReportError("aiMesh::mFaces[%i] is a TRIANGLE but aiMesh::mPrimitiveTypes "
|
||||
"does not report the TRIANGLE flag",i);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POLYGON))
|
||||
{
|
||||
this->ReportError("aiMesh::mFaces[%i] is a POLYGON but aiMesh::mPrimtiveTypes "
|
||||
this->ReportError("aiMesh::mFaces[%i] is a POLYGON but aiMesh::mPrimitiveTypes "
|
||||
"does not report the POLYGON flag",i);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue