Преглед на файлове

Fix compile error in debug builds.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@774 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg преди 15 години
родител
ревизия
b18d782231
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      code/Q3BSPFileImporter.cpp

+ 1 - 1
code/Q3BSPFileImporter.cpp

@@ -316,7 +316,7 @@ void Q3BSPFileImporter::createTriangleTopology( const Q3BSP::Q3BSPModel *pModel,
 											  aiMesh* pMesh, unsigned int &rFaceIdx, 
 											  unsigned int &rVertIdx )
 {
-	ai_assert( faceIdx < pMesh->mNumFaces );
+	ai_assert( rFaceIdx < pMesh->mNumFaces );
 	aiFace *pFace = &pMesh->mFaces[ rFaceIdx ];
 	ai_assert( NULL != pFace );
 	rFaceIdx++;