vichui / atlas_importer3

Atlas importer plugin for other texture pack tools
MIT License
7 stars 2 forks source link

Source textures are being saved as subresources #4

Open Ryhon0 opened 2 years ago

Ryhon0 commented 2 years ago

When importing texture atlases, the source textures referenced by atlas textures are being saved as uncompressed image data in the resource file, leading to massive files. This probably has something to do with the _loadAtlasTex function, replacing it with the following code seems to fix it

var sprite = ResourceLoader.load(atlas.imagePath)