Skip to content

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Sep 8, 2025

It annoyed me that there is no easy way to check tile source's ID in the editor. This PR makes it appear in source's tooltip, and also if it's atlas source with a texture, it shows full texture path:
image
This required adding a custom ItemList sub-class, so I also moved some initialization code.

@KoBeWi KoBeWi added this to the 4.x milestone Sep 8, 2025
@KoBeWi KoBeWi requested a review from a team as a code owner September 8, 2025 14:19
@KoBeWi KoBeWi requested a review from groud September 8, 2025 14:19
@AdriaandeJongh
Copy link
Contributor

what is a source ID any why is it relevant to see for users?

@KoBeWi
Copy link
Member Author

KoBeWi commented Sep 8, 2025

It's useful in code. I have a plugin that swaps some tile IDs and not being able to quickly check ID was a bit cumbersome. Right now you need to locate the tile in TileSet tab, click it and check ID field.

Copy link
Member

@groud groud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Repiteo Repiteo modified the milestones: 4.x, 4.6 Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants