Skip to content

Commit e68199b

Browse files
committed
Merge pull request #163 from lvlonggame/v3
fix bug: read animation number by different version.
2 parents 460bc2b + 3b8fcd2 commit e68199b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/3d/CCBundle3D.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ bool Bundle3D::loadAnimationDataBinary(const std::string& id, Animation3DData* a
14281428
}
14291429

14301430
unsigned int animNum = 1;
1431-
if( _version == "0.1"|| _version == "0.2" || _version == "0.3"|| _version == "0.4")
1431+
if( _version == "0.3"|| _version == "0.4")
14321432
{
14331433
if (!_binaryReader.read(&animNum))
14341434
{

0 commit comments

Comments
 (0)