Changeset 3914 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/model.cc
- Timestamp:
- Apr 21, 2005, 1:46:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.cc
r3913 r3914 345 345 } 346 346 347 /** 348 \brief finds a Material by its name and returns it 349 \param materialName the Name of the material to search for. 350 \returns the Material if found, NULL otherwise 351 */ 347 352 Material* Model::findMaterialByName(const char* materialName) 348 353 { … … 589 594 this->initFace (this->currentGroup->currentFace); 590 595 591 this->currentGroup->currentFace->material = material->search(matString);596 this->currentGroup->currentFace->material = this->findMaterialByName(matString); 592 597 593 598 if (this->currentGroup->faceCount == 0)
Note: See TracChangeset
for help on using the changeset viewer.