Changeset 3655 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/material.cc
- Timestamp:
- Mar 26, 2005, 3:28:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/material.cc
r3590 r3655 23 23 #include <stdlib.h> 24 24 #include <string.h> 25 26 //! \todo check if we are in RESOURCE MANAGER-mode 27 #include "resource_manager.h" 25 28 26 29 using namespace std; … … 104 107 this->ambientTextureSet = false; 105 108 this->specularTextureSet = false; 106 107 108 109 } 109 110 … … 333 334 { 334 335 PRINTF(4)("setting Diffuse Map %s\n", dMap); 335 diffuseTexture = new Texture(); 336 this->diffuseTextureSet = diffuseTexture->loadImage(dMap); 337 336 diffuseTexture = new Texture(); 337 this->diffuseTextureSet = diffuseTexture->loadImage(dMap); 338 339 //! \todo check if RESOURCE MANAGER is availiable 340 //this->diffuseTextureSet = this->diffuseTexture = (Texture*)ResourceManager::load(dMap, IMAGE); 338 341 } 339 342
Note: See TracChangeset
for help on using the changeset viewer.