Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5769 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.cc


Ignore:
Timestamp:
Nov 24, 2005, 11:18:39 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: sync

File:
1 edited

Legend:

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

    r5768 r5769  
    3333{
    3434  this->setClassID(CL_TEXTURE, "Texture");
    35   this->setName(imageName);
    3635
    3736  this->bAlpha = false;
     
    4039
    4140  if (imageName != NULL)
     41  {
     42    this->setName(imageName);
    4243    this->loadImage(imageName);
     44  }
    4345}
    4446
     
    116118  if (this->image != NULL)
    117119    {
    118       PRINTF(4)("Reloading Texture %s\n", this->getName());
     120      PRINTF(1)("Reloading Texture of %s '%s'\n", this->getClassName(), this->getName());
    119121      this->loadTexToGL();
    120122    }
Note: See TracChangeset for help on using the changeset viewer.