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 caching wrong collision layer shapes for shapes comprising several polygons. #92373

Conversation

libklein
Copy link
Contributor

Fixes an index error occurring when Godot caches transformed collision layer shapes for tiles of a TileSet.
This happens when a collision shape comprises several convex polygons: instead of transforming each member polygon, only the requested member polygon is transformed, and all other member polygons of the transformed shape are overwritten with that polygon.

@AThousandShips AThousandShips requested a review from a team May 26, 2024 10:43
@AThousandShips AThousandShips added this to the 4.3 milestone May 26, 2024
@akien-mga akien-mga merged commit 93596ab into godotengine:master May 28, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

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