l3mpire / lemverse

The first-ever coworking metaverse

Home Page:https://app.lemverse.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep filenames when uploading tilesets

ramnes opened this issue · comments

When uploading tilesets, they get names such as tis_ox8ux7ntwhReEPknW. Renaming all tilesets is a pain, let's keep the original filenames instead, they are more likely to mean something.

commented

We preserve the name at the upload, we rely on the name to know if a tileset is already uploaded or not (the fileName attribute)

Capture d’écran, le 2022-07-15 à 09 13 34

Great! If that wasn't clear, my point was about the default names in the editor interface. So if we have the original filename, then I guess we just have to use fileName rather than _id as the default name?

commented

I had misunderstood, indeed we can use fileName, it will be easier to find the last uploaded file 🙂