From 5376aea68807ed283cd571630ebb17760e244a43 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 (cherry picked from commit 80a488a24271a860aa0b79fb2e83569bf8d49942) --- 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 6d8d60dcaa8..e315e5ea710 100644 --- a/scene/3d/collision_object_3d.cpp +++ b/scene/3d/collision_object_3d.cpp @@ -625,6 +625,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 {