cc.TextureAtlas.getTotalQuads() is returning the relative capacity of the array and not the true total of quads (technically returning the capacity)
Original CCTextureAtlas.js, line 61-63
getTotalQuads:function () { return this._quads.length; },
Requested change CCTextureAtlas.js, line 61-63
getTotalQuads:function () { return this._totalQuads; },
HTML5
Atom PDF
0%
cc.TextureAtlas.getTotalQuads() is returning the relative capacity of the array and not the true total of quads (technically returning the capacity)
Original
CCTextureAtlas.js, line 61-63
Requested change
CCTextureAtlas.js, line 61-63