Merge pull request #45750 from revilo/3.2

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

View file

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