Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a TextureAtlas in a Tile Map TileSet shows error for multiple files #35756

Closed
jself opened this issue Jan 30, 2020 · 4 comments
Closed

Comments

@jself
Copy link

jself commented Jan 30, 2020

Godot version:
3.2

OS/device including version:
Manjaro Linux (up to date, rolling release)

Issue description:
Importing individual PNGs as a texture atlas and then trying to add them to a tile set shows the error:
"1 file(s) were not added because was already on the list"

Steps to reproduce:
Select multiple pngs, change import type to TextureAtlas on the Import tab.
Create a new TileSet and attempt to drag files to tileset.

The first one works fine, but future ones do not.

Saving a separate Atlas File and then using it as the image is a workaround, but it is more troublesome to create individual tiles if they are different sizes

Minimal reproduction project:
Attached, TileMap has one tile but dragging additional shows the error
AtlasExample.zip

@arkology
Copy link
Contributor

If i understand correctly, you're talking about TextureAtlas import option in Import dock. If it's true, look #32869 This happens not only in TileSet.

@jself
Copy link
Author

jself commented Jan 31, 2020

@arkology Hmm, possibly, I was able to use the Texture Atlas files elsewhere (like in a Sprite or AnimatedSprite frames) so I think this specific error may be specific to the TileSet.

I did use the Import dock to designate them as TextureAtlas files, but that part worked fine. I didn't see the error in that ticket.

@jself
Copy link
Author

jself commented Jan 31, 2020

Here's the error I'm seeing after trying to drag BGTile (2).png into the TileSet
Screenshot from 2020-01-30 21-59-51

@akien-mga
Copy link
Member

Fixed by #38388.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants