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 TileSet Scattering setting vanishing when changing tools #96280

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

CreatedBySeb
Copy link
Contributor

Fixes #96278 by showing the container Control for the Scattering controls in the TileSet Editor, only when the 'Place Random Tile' toggle is pressed.

It may be preferable to merge the else if and else blocks in this code (Lines 82-99), and use a similar set_visible call for bucket_contiguous_checkbox to reduce code duplication in this section and avoid potential discrepancies between the two cases in the future.

@akien-mga akien-mga merged commit 84ad611 into godotengine:master Aug 30, 2024
19 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.

Scattering setting vanishes from TileMap Editor if another tool is selected
4 participants