Browse Source

Update ValidateDataStructure.cpp

Giuseppe Barbieri 7 years ago
parent
commit
703d046fd9
1 changed files with 4 additions and 4 deletions
  1. 4 4
      code/ValidateDataStructure.cpp

+ 4 - 4
code/ValidateDataStructure.cpp

@@ -334,28 +334,28 @@ void ValidateDSProcess::Validate( const aiMesh* pMesh)
             case 1:
             case 1:
                 if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POINT))
                 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);
                         "does not report the POINT flag",i);
                 }
                 }
                 break;
                 break;
             case 2:
             case 2:
                 if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_LINE))
                 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);
                         "does not report the LINE flag",i);
                 }
                 }
                 break;
                 break;
             case 3:
             case 3:
                 if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_TRIANGLE))
                 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);
                         "does not report the TRIANGLE flag",i);
                 }
                 }
                 break;
                 break;
             default:
             default:
                 if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POLYGON))
                 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);
                         "does not report the POLYGON flag",i);
                 }
                 }
                 break;
                 break;