@@ -973,7 +973,7 @@ void MD3Importer::InternReadFile( const std::string& pFile, aiScene* pScene, IOS
AI_SWAP2( pcVertices[i].Z );
AI_SWAP4( pcUVs[i].U );
- AI_SWAP4( pcUVs[i].U );
+ AI_SWAP4( pcUVs[i].V );
}
for (uint32_t i = 0; i < pcSurfaces->NUM_TRIANGLES;++i) {
AI_SWAP4(pcTriangles[i].INDEXES[0]);
@@ -355,7 +355,7 @@ void MDCImporter::InternReadFile(
// swap all texture coordinates
for (unsigned int i = 0; i < pcSurface->ulNumVertices;++i)
{
- AI_SWAP4( pcUVs->v );
+ AI_SWAP4( pcUVs->u );
AI_SWAP4( pcUVs->v );