Merge pull request #45774 from revilo/fix-45694

Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
This commit is contained in:
Rémi Verschelde 2021-02-08 21:32:49 +01:00 committed by GitHub
commit 74be478895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ void CollisionShape3D::_notification(int p_what) {
if (shape.is_valid()) {
parent->shape_owner_add_shape(owner_id, shape);
}
_update_in_shape_owner();
}
} break;
case NOTIFICATION_ENTER_TREE: {