odrick / free-tex-packer

Free texture packer
http://free-tex-packer.com/
MIT License
911 stars 168 forks source link

Differentiate between imageFile and imageName #3

Closed Querijn closed 6 years ago

Querijn commented 6 years ago

Hey there,

For my use-case, I needed to make a custom mustache file that gives me the texture name rather than the texture file. So, I added a small change that differentiated between the two.

If you have a texture named "texture", imageName now gives "image" rather than "image.png", the new variable imageFile gives "image.png"