1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

Merge pull request #106119 from mihe/jolt/space-change-errors

Remove emitting of error in `JoltBody3D::_exit_all_areas`
This commit is contained in:
Thaddeus Crews
2025-05-06 08:37:58 -05:00

View File

@@ -423,7 +423,9 @@ void JoltBody3D::_destroy_joint_constraints() {
}
void JoltBody3D::_exit_all_areas() {
ERR_FAIL_COND(!in_space());
if (!in_space()) {
return;
}
for (JoltArea3D *area : areas) {
area->body_exited(jolt_body->GetID(), false);