mirror of https://github.com/axmolengine/axmol.git
recover bundle3d
This commit is contained in:
parent
7437bfad15
commit
2d89ee34ef
|
@ -1797,7 +1797,7 @@ NodeData* Bundle3D::parseNodesRecursivelyBinary(bool& skeleton)
|
|||
CCLOG("warning: Failed to read nodedata: uvMapping '%s'.", _path.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
for( int j = 0 ;j < uvMapping ; j++ )
|
||||
for(int j = 0 ;j < uvMapping ; j++ )
|
||||
{
|
||||
unsigned int textureIndexSize=0;
|
||||
if (_binaryReader.read(&textureIndexSize, 4, 1) != 1)
|
||||
|
@ -1805,7 +1805,7 @@ NodeData* Bundle3D::parseNodesRecursivelyBinary(bool& skeleton)
|
|||
CCLOG("warning: Failed to read meshdata: attribCount '%s'.", _path.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
for(int k =0; k < textureIndexSize ; k++ )
|
||||
for(unsigned int k = 0; k < textureIndexSize ; k++)
|
||||
{
|
||||
unsigned int index=0;
|
||||
if (_binaryReader.read(&index, 4, 1) != 1)
|
||||
|
|
Loading…
Reference in New Issue