diff --git a/code/OgreMaterial.cpp b/code/OgreMaterial.cpp index 6c0330d24..177c8eac1 100644 --- a/code/OgreMaterial.cpp +++ b/code/OgreMaterial.cpp @@ -136,7 +136,7 @@ aiMaterial* OgreImporter::LoadMaterial(const std::string MaterialName) const //the filename typically ends with .mesh or .mesh.xml 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) { //try the default mat Library diff --git a/doc/dox.h b/doc/dox.h index e42167776..221599979 100644 --- a/doc/dox.h +++ b/doc/dox.h @@ -1423,6 +1423,8 @@ IFC support is new and considered experimental. Please report any bugs you may e
@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. @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