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

Validate TileData enum range before using it as index #51185

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

timothyqiu
Copy link
Member

Fixes #51183

The stack trace posted in that issue is a bit strange that shows it crashed inside get_collision_polygons_count, but it's actually inside set_peering_bit_terrain.

@akien-mga akien-mga merged commit 2db45b6 into godotengine:master Aug 2, 2021
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the tile-data-enum-range branch August 2, 2021 15:21
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.

Executing get_collision_polygons_count crashes Godot
2 participants