Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2005, 1:46:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: materialList is now a property of model not material, makes more sense

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/model.cc

    r3913 r3914  
    345345}
    346346
     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*/
    347352Material* Model::findMaterialByName(const char* materialName)
    348353{
     
    589594  this->initFace (this->currentGroup->currentFace);
    590595 
    591   this->currentGroup->currentFace->material = material->search(matString);
     596  this->currentGroup->currentFace->material = this->findMaterialByName(matString);
    592597
    593598  if (this->currentGroup->faceCount == 0)
Note: See TracChangeset for help on using the changeset viewer.