Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2779 in orxonox.OLD for orxonox/branches/importer


Ignore:
Timestamp:
Nov 10, 2004, 3:56:37 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: colors are set correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/importer/object.cc

    r2778 r2779  
    203203        {
    204204          tmpMat = tmpMat->addMaterial(Buffer+7);
    205           printf ("%s, %p\n", tmpMat->getName(), tmpMat);
     205          //      printf ("%s, %p\n", tmpMat->getName(), tmpMat);
    206206        }
    207207      // setting a illumMode
     
    236236  faceMode = 0;
    237237  //printf ("%s\n", matString);
    238   glColor3f((float)rand()/2000000000.0,(float)rand()/2000000000.0,(float)rand()/2000000000.0);
    239 }
    240 
    241 
     238  //  glColor3f((float)rand()/2000000000.0,(float)rand()/2000000000.0,(float)rand()/2000000000.0);
     239  material->search(matString)->select();
     240}
     241
     242
Note: See TracChangeset for help on using the changeset viewer.