FIX: SMDLoader was broken due to erroneous 'rt' in input stream construction.
FIX: MD3Loader, revive dead branch. FIX: TargetAnimation - clarify doc on preconditions. FIX: aiMatrix3x3::FromTo - move cross product into a branch to save it we can do it without it. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@530 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -96,7 +96,7 @@ void SMDImporter::SetupProperties(const Importer* pImp)
|
||||
void SMDImporter::InternReadFile(
|
||||
const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler)
|
||||
{
|
||||
boost::scoped_ptr<IOStream> file( pIOHandler->Open( pFile, "rt"));
|
||||
boost::scoped_ptr<IOStream> file( pIOHandler->Open( pFile, "rb"));
|
||||
|
||||
// Check whether we can read from the file
|
||||
if( file.get() == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user