Skip to content

Fallback points for bounding boxes #1814

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

Merged
merged 3 commits into from
Feb 11, 2024
Merged

Fallback points for bounding boxes #1814

merged 3 commits into from
Feb 11, 2024

Conversation

einarf
Copy link
Member

@einarf einarf commented Jun 8, 2023

The new hit box system is a lot more sensitive to missing hit box points. In 2.6 we manually returned a bounding box around the image in the sprite methods if points was not present. This PR restores the old behavior, but we might instead want to handle missing points differently in 3.0?

@gran4
Copy link
Contributor

gran4 commented Jun 13, 2023

I just realized this is a draft... Sorry

@einarf
Copy link
Member Author

einarf commented Feb 10, 2024

I just realized this is a draft... Sorry

All good! Reviewing things never hurts and I might have missed the typo.

@einarf einarf marked this pull request as ready for review February 11, 2024 00:07
@einarf einarf merged commit 5d069d0 into development Feb 11, 2024
@einarf einarf deleted the bbox-fallback branch February 11, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants