You've already forked godot
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user