diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-08 21:32:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 21:32:49 +0100 |
commit | 74be478895e79bca1552b293e2701cf53404ba7a (patch) | |
tree | b9c9ed50bde8e41541ce46d8c4aaefae7dfb85ce | |
parent | 68b76520987e5471796ac59d3456dcb7e15b1e76 (diff) | |
parent | f1432f27889c721af6732712533de1c4d3eba76c (diff) |
Merge pull request #45774 from revilo/fix-45694
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
-rw-r--r-- | scene/3d/collision_shape_3d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/collision_shape_3d.cpp b/scene/3d/collision_shape_3d.cpp index 928a46aba5..914c8eab7a 100644 --- a/scene/3d/collision_shape_3d.cpp +++ b/scene/3d/collision_shape_3d.cpp @@ -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: { |