Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4107 in orxonox.OLD


Ignore:
Timestamp:
May 7, 2005, 4:28:09 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more

File:
1 edited

Legend:

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

    r4106 r4107  
    566566      else
    567567        tmpElem->normalNumber = -1;
     568      if (unlikely(tmpElem->vertexNumber > this->vertexCount))
     569        PRINTF(1)("VERTEX %d IS NOT IN THE LIST -> DANGER OF SEGFAULT (max is: %d)\n", tmpElem->vertexNumber, this->vertexCount);
     570      if (unlikely(tmpElem->normalNumber > this->normalCount))
     571        PRINTF(1)("VERTEX %d IS NOT IN THE LIST -> DANGER OF SEGFAULT (max is: %d)\n", tmpElem->normalNumber, this->normalCount);
     572      if (unlikely(tmpElem->texCoordNumber > this->texCoordCount))
     573        PRINTF(1)("VERTEX %d IS NOT IN THE LIST -> DANGER OF SEGFAULT (max is: %d)\n", tmpElem->texCoordNumber, this->texCoordCount);
    568574
    569575      faceString += tmpLen;
Note: See TracChangeset for help on using the changeset viewer.