2
0
Эх сурвалжийг харах

Ogre: Fix in Material Loader

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1198 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
jonathanklein 13 жил өмнө
parent
commit
df7f177794
2 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 1 1
      code/OgreMaterial.cpp
  2. 2 0
      doc/dox.h

+ 1 - 1
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

+ 2 - 0
doc/dox.h

@@ -1423,6 +1423,8 @@ IFC support is new and considered experimental. Please report any bugs you may e
 
 <hr>
 @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