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

Fix TileMap selection pattern being needlessly reorganized #91905

Merged

Conversation

groud
Copy link
Member

@groud groud commented May 13, 2024

Fixes #53901

This PR removes some processing that aimed to fix the TileMap editor selection when switching layer, tabs, etc. But I believe it's probably too safe. So I replaced it by something that seems to make more sense to me.

Note that the editor will keep the pattern even if you change TileSet (so, like, the pattern will be the same but using another TileSet, if that's clear). That might be a bit weird but it does not cause any error, so I did not bother fixing that by keeping an reference of the edited TileSet in the editor.

I didn't spot any obvious regressions by this change, but there might be some situations where the removal of those "too safe" operations might lead to some small regressions.

@akien-mga akien-mga merged commit e58eb6a into godotengine:master May 14, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

When changing layer with tile pattern active, the pattern gets messed up
3 participants