Merge pull request #163 from lvlonggame/v3

fix bug: read animation number by different version.
This commit is contained in:
XiaoYang 2014-11-19 18:03:27 +08:00
commit e68199b8bb
1 changed files with 1 additions and 1 deletions

View File

@ -1428,7 +1428,7 @@ bool Bundle3D::loadAnimationDataBinary(const std::string& id, Animation3DData* a
} }
unsigned int animNum = 1; unsigned int animNum = 1;
if( _version == "0.1"|| _version == "0.2" || _version == "0.3"|| _version == "0.4") if( _version == "0.3"|| _version == "0.4")
{ {
if (!_binaryReader.read(&animNum)) if (!_binaryReader.read(&animNum))
{ {