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] Make body_test_motion thread safe for multi-threaded physics #53498

Merged

Conversation

pouleyKetchoupp
Copy link
Contributor

@pouleyKetchoupp pouleyKetchoupp commented Oct 6, 2021

Needs proper synchro with the command buffer for thread safety, in case physics is not running on the main thread.
2D only, because 3D doesn't have multi-threaded physics on 3.x.

Backport of #53497
Edit: #53497 was closed but this fix is still needed on 3.x.
Fixes #53496 on the 3.x branch.

Needs proper synchro with the command buffer for thread safety, in case
physics is not running on the main thread.
@akien-mga akien-mga merged commit 26aefbb into godotengine:3.x Oct 7, 2021
@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.

2 participants