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

[3.x] BVH - fix not refitting upward from leaf nodes #82502

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

Rindbee
Copy link
Contributor

@Rindbee Rindbee commented Sep 28, 2023

Fix leaf node possibly not updating aabb due to wrong node id.

Additionally, when requesting a new leaf, mark dirty as false in clear().

Backport of #82482.

Fix leaf node possibly not updating aabb due to wrong node id.

Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.
@Rindbee Rindbee requested a review from a team as a code owner September 28, 2023 22:03
@lawnjelly
Copy link
Member

Actually if you have time to remake #82447 I can approve that too.
That means it just needs a production team to merge.

@akien-mga akien-mga merged commit 3947c11 into godotengine:3.x Oct 1, 2023
@akien-mga
Copy link
Member

Thanks!

@Rindbee Rindbee deleted the fix-bugs-in-bvh-for-3.x branch October 1, 2023 21:26
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.

3 participants