Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/mdl/MDLReader.cpp
- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/mdl/MDLReader.cpp
r12899 r13041 164 164 texPath = findFileInPath("materials", textureName, ".vtf"); 165 165 166 // Check up one directory if we don't find it here (the map file is 166 // Check up one directory if we don't find it here (the map file is 167 167 // usually located in the "maps" directory, adjacent to the materials 168 168 // directory) … … 364 364 texture = readTextureFile(token); 365 365 } 366 else if (equalCaseInsensitive(token, "$basetexture2")) 366 else if (equalCaseInsensitive(token, "$basetexture2")) 367 367 { 368 368 // Get the second base texture name … … 397 397 } 398 398 } 399 399 400 400 // Try the next token 401 401 token = getToken(line, " \t\n\r\"", start); … … 650 650 mdlFile->get(texPath[j]); 651 651 j++; 652 } 652 } 653 653 while ((j < sizeof(texPath)) && (texPath[j-1] != 0)); 654 654 … … 675 675 mdlFile->get(texName[j]); 676 676 j++; 677 } 677 } 678 678 while ((j < sizeof(texName)) && (texName[j-1] != 0)); 679 679
