odrick / free-tex-packer

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

XML declaration moved before first comment. #23

Closed and3md closed 5 years ago

and3md commented 5 years ago

Hi there,

Great tool! I made a very small patch for XML exporters. The XML format requires that the XML declaration need to be before any other element. Some XML parsers return an error when a comment is placed before it (like sprite-sheet-to-x3d from Castle Game Engine).

More info: https://stackoverflow.com/questions/1196467/ok-to-put-comments-before-the-xml-declaration

Regards