Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 21, 2005, 11:24:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: md2_sloppy data-dir-fix

File:
1 edited

Legend:

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

    r4245 r4246  
    1717#include "md2Model.h"
    1818#include "material.h"
     19
     20#include "resource_manager.h"
    1921
    2022#include <fstream>
     
    8183  MD2Loader* md2loader = new MD2Loader();
    8284  this->model = new t3DModel;
    83   md2loader->importMD2(this->model, "../data/models/tris.md2");
     85  md2loader->importMD2(this->model, ResourceManager::getFullName("models/tris.md2"));
    8486  delete md2loader;
    8587}
Note: See TracChangeset for help on using the changeset viewer.