# 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-9d2fd5bffc1fpull/1/head
parent
af8058498e
commit
a283c2ef91
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue