From df7f1777940b13c764593c4de6fe4cefa607d0f2 Mon Sep 17 00:00:00 2001 From: jonathanklein Date: Mon, 12 Mar 2012 13:59:51 +0000 Subject: [PATCH] Ogre: Fix in Material Loader git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1198 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/OgreMaterial.cpp | 2 +- doc/dox.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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