Ogre: Fix in Material Loader

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1198 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
jonathanklein 2012-03-12 13:59:51 +00:00
parent accbcb575b
commit df7f177794
2 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,7 @@ aiMaterial* OgreImporter::LoadMaterial(const std::string MaterialName) const
//the filename typically ends with .mesh or .mesh.xml //the filename typically ends with .mesh or .mesh.xml
const string MaterialFileName=m_CurrentFilename.substr(0, m_CurrentFilename.rfind(".mesh"))+".material"; const string MaterialFileName=m_CurrentFilename.substr(0, m_CurrentFilename.rfind(".mesh"))+".material";
IOStream* MatFilePtr=m_CurrentIOHandler->Open(MaterialFileName); MatFilePtr=m_CurrentIOHandler->Open(MaterialFileName);
if(NULL==MatFilePtr) if(NULL==MatFilePtr)
{ {
//try the default mat Library //try the default mat Library

View File

@ -1423,6 +1423,8 @@ IFC support is new and considered experimental. Please report any bugs you may e
<hr> <hr>
@section ogre Ogre @section ogre Ogre
*ATTENTION*: The Ogre-Loader is currently under development, many things have changed after this documentation was written, but they are not final enough to rewrite the documentation. So things may have changed by now!
This section contains implementations notes for the OgreXML importer. This section contains implementations notes for the OgreXML importer.
@subsection overview Overview @subsection overview Overview
Ogre importer is currently optimized for the Blender Ogre exporter, because thats the only one that i use. You can find the Blender Ogre exporter at: http://www.ogre3d.org/forums/viewtopic.php?f=8&t=45922 Ogre importer is currently optimized for the Blender Ogre exporter, because thats the only one that i use. You can find the Blender Ogre exporter at: http://www.ogre3d.org/forums/viewtopic.php?f=8&t=45922