Browse Source

# 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 năm trước cách đây
mục cha
commit
a283c2ef91
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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, 
 	aiScene* pScene, IOSystem* pIOHandler)
 {
-	boost::shared_ptr<IOStream> stream(pIOHandler->Open(pFile,"rt"));
+	boost::shared_ptr<IOStream> stream(pIOHandler->Open(pFile));
 	if (!stream) {
 		ThrowException("Could not open file for reading");
 	}