更新编译文件

This commit is contained in:
SmallMain 2022-07-12 20:32:56 +08:00
parent 7921d3c865
commit b98b586745
3 changed files with 27 additions and 25 deletions

View File

@ -57106,7 +57106,7 @@
"use strict"; "use strict";
cc.sp = { cc.sp = {
inited: false, inited: false,
version: "1.0.0", version: "1.1.0",
MAX_MULTITEXTURE_NUM: -1, MAX_MULTITEXTURE_NUM: -1,
autoSwitchMaterial: true, autoSwitchMaterial: true,
allowDynamicAtlas: true, allowDynamicAtlas: true,
@ -96202,6 +96202,7 @@
var packedFrame; var packedFrame;
false; false;
var region = attachment.region; var region = attachment.region;
if (region) {
var alreadyInAtlas = !!region._original; var alreadyInAtlas = !!region._original;
if (alreadyInAtlas) _packedRegions.includes(region) && this.updatePackedAttachment(attachment, false); else if (region.texture && region.texture._texture.packable) { if (alreadyInAtlas) _packedRegions.includes(region) && this.updatePackedAttachment(attachment, false); else if (region.texture && region.texture._texture.packable) {
if (region._spriteFrame) { if (region._spriteFrame) {
@ -96231,6 +96232,7 @@
} }
} }
} }
}
_tmpRegionData.reset(); _tmpRegionData.reset();
_packedRegions.length = 0; _packedRegions.length = 0;
}; };

File diff suppressed because one or more lines are too long

View File

@ -56799,7 +56799,7 @@
"use strict"; "use strict";
cc.sp = { cc.sp = {
inited: false, inited: false,
version: "1.0.0", version: "1.1.0",
MAX_MULTITEXTURE_NUM: -1, MAX_MULTITEXTURE_NUM: -1,
autoSwitchMaterial: true, autoSwitchMaterial: true,
allowDynamicAtlas: true, allowDynamicAtlas: true,