pix-plot icon indicating copy to clipboard operation
pix-plot copied to clipboard

bug

Open ruisen2020 opened this issue 1 month ago • 0 comments

// Get the number of atlases to load into this texture Texture.prototype.getAtlasCount = function() { var val = (data.atlasCount / config.atlasesPerTex) > (this.idx + 1) ? config.atlasesPerTex : data.atlasCount % config.atlasesPerTex; // handle special case of single atlas that's size of single texture return val ? val : 1; }

if data.atlasCount == 16 && config.atlasesPerTex == 16 && this.idx == 0, then val is 16 % 16 ==0 , return 1。but return must be 16。

Image

ruisen2020 avatar Nov 11 '25 12:11 ruisen2020