Changeset 8428 in orxonox.OLD for branches/bsp_model/src
- Timestamp:
- Jun 15, 2006, 12:28:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8427 r8428 286 286 else if( localFileOffset == this->meshes[i]->header->textureStart && !bTextures) 287 287 { 288 fileOffset += this->readMeshTextures(pFile, localFileOffset, i);288 localFileOffset += this->readMeshTextures(pFile, localFileOffset, i); 289 289 bTextures = true; 290 290 } … … 294 294 bTexVecs = true; 295 295 } 296 else if( fileOffset == this->meshes[i]->header->vertexStart && !bVertices)296 else if( localFileOffset == this->meshes[i]->header->vertexStart && !bVertices) 297 297 { 298 298 localFileOffset += this->readMeshVertices(pFile, localFileOffset, i); … … 349 349 { 350 350 PRINTF(0)("Reading Mesh TexVecs\n"); 351 351 352 this->meshes[mesh]->texVecs = new MD3TexVecs[this->meshes[mesh]->header->vertexNum]; 352 353 fread(this->meshes[mesh]->texVecs, 1, sizeof(MD3TexVecs), pFile);
Note: See TracChangeset
for help on using the changeset viewer.