From 80a488a24271a860aa0b79fb2e83569bf8d49942 Mon Sep 17 00:00:00 2001 From: jsjtxietian Date: Wed, 8 Nov 2023 17:50:20 +0800 Subject: [PATCH] Fix CollisionObject3D Gizmo not updated after calling shape_owner_* functions --- scene/3d/collision_object_3d.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/3d/collision_object_3d.cpp b/scene/3d/collision_object_3d.cpp index 97b1e282ad5..0cfe0f8cb73 100644 --- a/scene/3d/collision_object_3d.cpp +++ b/scene/3d/collision_object_3d.cpp @@ -624,6 +624,7 @@ void CollisionObject3D::shape_owner_add_shape(uint32_t p_owner, const Ref 0) { shape_owner_remove_shape(p_owner, 0); } + + update_gizmos(); } uint32_t CollisionObject3D::shape_find_owner(int p_shape_index) const {