浏览代码

# IFC: drop rt flag for opening the file stream

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@989 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 年之前
父节点
当前提交
a283c2ef91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/IFCLoader.cpp

+ 1 - 1
code/IFCLoader.cpp

@@ -224,7 +224,7 @@ void IFCImporter::SetupProperties(const Importer* pImp)
 void IFCImporter::InternReadFile( const std::string& pFile, 
 void IFCImporter::InternReadFile( const std::string& pFile, 
 	aiScene* pScene, IOSystem* pIOHandler)
 	aiScene* pScene, IOSystem* pIOHandler)
 {
 {
-	boost::shared_ptr<IOStream> stream(pIOHandler->Open(pFile,"rt"));
+	boost::shared_ptr<IOStream> stream(pIOHandler->Open(pFile));
 	if (!stream) {
 	if (!stream) {
 		ThrowException("Could not open file for reading");
 		ThrowException("Could not open file for reading");
 	}
 	}