Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10202 in orxonox.OLD for branches/mount_points/src/lib


Ignore:
Timestamp:
Jan 10, 2007, 11:41:08 AM (18 years ago)
Author:
patrick
Message:

fixed the bug, the resources were overwriting my model infos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/static_model.cc

    r10184 r10202  
    8484  data->finalize();
    8585  this->updateBase();
    86   this->extractMountPoints();
    8786}
    8887
     
    187186    center /= vertices.size();
    188187
    189     PRINTF(0)("Up Point\n");
    190     up.debug();
    191 
    192     PRINTF(0)("Center\n");
    193     center.debug();
    194 
    195     PRINTF(0)("Forward\n");
    196     forward.debug();
     188//     PRINTF(0)("Up Point\n");
     189//     up.debug();
     190//
     191//     PRINTF(0)("Center\n");
     192//     center.debug();
     193//
     194//     PRINTF(0)("Forward\n");
     195//     forward.debug();
    197196
    198197    // now add the mount point
     
    229228  this->pModelInfo.pTriangles = this->data->getTrianglesExt();
    230229  this->pModelInfo.numTriangles = this->data->getTriangles().size();
     230
     231  this->extractMountPoints();
    231232}
    232233
Note: See TracChangeset for help on using the changeset viewer.