Sfoglia il codice sorgente

Update SplitLargeMeshes.cpp

Fix double-parthesis.
Kim Kulling 7 anni fa
parent
commit
ed43c48e93
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      code/SplitLargeMeshes.cpp

+ 1 - 1
code/SplitLargeMeshes.cpp

@@ -356,7 +356,7 @@ void SplitLargeMeshesProcess_Vertex::Execute( aiScene* pScene) {
     //Check for point cloud first, 
     //Check for point cloud first, 
     //Do not process point cloud, splitMesh works only with faces data
     //Do not process point cloud, splitMesh works only with faces data
     for (unsigned int a = 0; a < pScene->mNumMeshes; a++) {
     for (unsigned int a = 0; a < pScene->mNumMeshes; a++) {
-        if ((pScene->mMeshes[a]->mPrimitiveTypes == aiPrimitiveType_POINT)) {
+        if ( pScene->mMeshes[a]->mPrimitiveTypes == aiPrimitiveType_POINT ) {
             return;
             return;
         }
         }
     }
     }