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

In final phase of test_body_motion, move and cull AABB for body once instead of for every shape #58287

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

rburing
Copy link
Member

@rburing rburing commented Feb 18, 2022

As briefly discussed on RocketChat, two lines (moving body_aabb and calling _cull_aabb_for_body) were moved into a loop over shapes in 66c6dfb for 2D and (for consistency?) in #46148 for 3D. This PR moves those lines back to their original position, where they likely belong, as "repeatedly moving the AABB, once for each shape" does not seem to be logical.

There are no regressions when running the test projects from #16250, #35945 (comment), #45971, #45971 (comment), #46134 (after updating them to run under master). With more effort, more of the test projects linked in #46148 could be tested.

@rburing rburing requested a review from a team as a code owner February 18, 2022 19:48
@akien-mga akien-mga added this to the 4.0 milestone Feb 18, 2022
@akien-mga akien-mga merged commit 8049570 into godotengine:master Feb 18, 2022
@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.

3 participants