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