mirror of https://github.com/axmolengine/axmol.git
Merge pull request #163 from lvlonggame/v3
fix bug: read animation number by different version.
This commit is contained in:
commit
e68199b8bb
|
@ -1428,7 +1428,7 @@ bool Bundle3D::loadAnimationDataBinary(const std::string& id, Animation3DData* a
|
|||
}
|
||||
|
||||
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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue