raeleus / skin-composer

Create skins for LibGDX scene2d.ui with a graphical interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capitalisation in the file name breaks MinWidth, etc

TZVK opened this issue · comments

commented

Problem: If the filename for a NinePatch has capitalised letters, and a MinWidth/MinHeight setting it breaks the json entry, due to naming shenanigans.

Reason: Certain entries in json and atlas force a complete lower case name, while others use the capitalised form. Thus they can't find each others.

Solution: I renamed all files into lower case file names. (Important to also rename the files in the _data directory, or Skin Composer crashes with a NullPointerException)
But Skin Composer probably should force coherent naming, ideally so that capitalised names are possible.

This will be resolved with the next update. Thank you.