18 #include "precompiled.h"
33 : m_ColladaManager(colladaManager)
46 mesh_map::iterator iter =
m_MeshMap.find(name);
47 if (iter !=
m_MeshMap.end() && !iter->second.expired())
54 if (pmdFilename.
empty())
68 LOGERROR(L
"Could not load mesh '%ls'", pmdFilename.
string().c_str());
CColladaManager & m_ColladaManager
VfsPath GetLoadablePath(const VfsPath &pathnameNoExtension, FileType type)
Returns the VFS path to a PMD/PSA file for the given source file.
CMeshManager(CColladaManager &colladaManager)
static CModelDef * Load(const VfsPath &filename, const VfsPath &name)
Loads a PMD file.
const String & string() const
Path ChangeExtension(Path extension) const
CModelDefPtr GetMesh(const VfsPath &pathname)
boost::shared_ptr< CModelDef > CModelDefPtr