Changeset 6651 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Jan 22, 2006, 2:22:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r6645 r6651 81 81 ResourceManager::getInstance()->unload(this->diffuseTexture); 82 82 if (m.diffuseTexture != NULL) 83 this->diffuseTexture = m.diffuseTexture; /// HACK shoudl be:(Texture*)ResourceManager::getInstance()->load();83 this->diffuseTexture = (Texture*)ResourceManager::getInstance()->copy(m.diffuseTexture); 84 84 this->ambientTexture = NULL; /// FIXME 85 85 this->specularTexture = NULL; /// FIXME
Note: See TracChangeset
for help on using the changeset viewer.