- Bugfix: Collada-Loader now also reads animations containing multiple channels

- Bugfix: Collada-Loader new resolves subelement animation channels correctly
- silenced some warnings in the B3DImporter code. There are a lot more over there, though.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@459 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
ulfjorensen
2009-08-01 13:57:29 +00:00
parent 99a6ed1bb9
commit 3f2fa97f18
3 changed files with 52 additions and 13 deletions

View File

@@ -123,6 +123,7 @@ void B3DImporter::Fail( string str ){
int B3DImporter::ReadByte(){
if( _pos<_buf.size() ) return _buf[_pos++];
Fail( "EOF" );
return 0;
}
// ------------------------------------------------------------------------------------------------
@@ -133,6 +134,7 @@ int B3DImporter::ReadInt(){
return n;
}
Fail( "EOF" );
return 0;
}
// ------------------------------------------------------------------------------------------------
@@ -143,6 +145,7 @@ float B3DImporter::ReadFloat(){
return n;
}
Fail( "EOF" );
return 0.0f;
}
// ------------------------------------------------------------------------------------------------
@@ -178,6 +181,7 @@ string B3DImporter::ReadString(){
str+=c;
}
Fail( "EOF" );
return string();
}
// ------------------------------------------------------------------------------------------------