Changeset 3672 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/material.cc
- Timestamp:
- Mar 30, 2005, 3:02:58 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/material.cc
r3658 r3672 62 62 delete []this->name; 63 63 if (this->diffuseTexture) 64 ResourceManager:: unload(this->diffuseTexture);64 ResourceManager::getInstance()->unload(this->diffuseTexture); 65 65 if (this->nextMat) 66 66 delete this->nextMat; … … 339 339 //! \todo check if RESOURCE MANAGER is availiable 340 340 //! \todo Textures from .mtl-file need special care. 341 this->diffuseTextureSet = this->diffuseTexture = (Texture*)ResourceManager:: load(dMap, IMAGE);341 this->diffuseTextureSet = this->diffuseTexture = (Texture*)ResourceManager::getInstance()->load(dMap, IMAGE); 342 342 } 343 343
Note: See TracChangeset
for help on using the changeset viewer.