Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

orxonox/trunk: minor changes at model

File:
1 edited

Legend:

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

    r3910 r3911  
    2323#include "array.h"
    2424#include "vector.h"
     25#include "list.h"
    2526
    2627using namespace std;
     
    5051  this->normals = new Array();
    5152
     53  this->materialList = new tList<Material>;
    5254}
    5355
     
    6870      PRINT(4)("\n");
    6971
    70   PRINTF(4)("Deleting display Lists.\n");
     72  PRINTF(5)("Deleting display Lists.\n");
    7173  Group* walker = this->firstGroup;
    7274  while (walker != NULL)
     
    7880    }
    7981
    80   PRINTF(4)("Deleting Materials.\n");
     82  PRINTF(5)("Deleting Materials.\n");
    8183  if (this->material)
    8284    delete this->material;
     85
     86  // deleting the MaterialList
     87  delete materialList;
    8388}
    8489
Note: See TracChangeset for help on using the changeset viewer.