From 3b8fcd21ebafe910761f0cf6a1884c42d0b160b8 Mon Sep 17 00:00:00 2001 From: lvlong Date: Wed, 19 Nov 2014 17:59:35 +0800 Subject: [PATCH] fix bug: read animation number by different version. --- cocos/3d/CCBundle3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/3d/CCBundle3D.cpp b/cocos/3d/CCBundle3D.cpp index a85137f260..4b963cc539 100644 --- a/cocos/3d/CCBundle3D.cpp +++ b/cocos/3d/CCBundle3D.cpp @@ -1421,7 +1421,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)) {