Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5676 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Nov 21, 2005, 9:59:50 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: model now makes better debug output

File:
1 edited

Legend:

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

    r5430 r5676  
    919919      else if( tmpFace->vertexCount > 4)
    920920      {
    921         PRINTF(1)("NASTY NASTY: More than 4 vertices for a face, there will be errors in the triangles information!\n");
     921        PRINTF(1)("This model (%s) got over 4 vertices per face <=> conflicts in the CD engine!\n", this->getName());
    922922      //exit(0);
    923923      }
     
    929929  PRINTF(3)("got %i triangles, %i vertices\n", this->triangleCount, this->vertexCount);
    930930
     931 
     932  /* write MODELINFO structure */
    931933
    932934  /* allocate memory for the new triangle structures */
     
    936938    return false;
    937939  }
    938 
    939940
    940941  /* now iterate through all groups and build up the triangle list */
Note: See TracChangeset for help on using the changeset viewer.