recover bundle3d

This commit is contained in:
lvlong 2015-02-25 10:54:49 +08:00
parent 7437bfad15
commit 2d89ee34ef
1 changed files with 2 additions and 2 deletions

View File

@ -1805,7 +1805,7 @@ NodeData* Bundle3D::parseNodesRecursivelyBinary(bool& skeleton)
CCLOG("warning: Failed to read meshdata: attribCount '%s'.", _path.c_str()); CCLOG("warning: Failed to read meshdata: attribCount '%s'.", _path.c_str());
return nullptr; return nullptr;
} }
for(int k =0; k < textureIndexSize ; k++ ) for(unsigned int k = 0; k < textureIndexSize ; k++)
{ {
unsigned int index=0; unsigned int index=0;
if (_binaryReader.read(&index, 4, 1) != 1) if (_binaryReader.read(&index, 4, 1) != 1)