From b9beb852e6a4e7f7ea1dbdd3067cbb923518be96 Mon Sep 17 00:00:00 2001 From: Mike Precup Date: Mon, 14 Jul 2025 10:19:01 -0700 Subject: [PATCH] Fix sphere gizmo handle position --- .../scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp b/editor/scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp index 61ce34031ff..898f3a40130 100644 --- a/editor/scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp +++ b/editor/scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp @@ -396,7 +396,7 @@ void CollisionShape3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) { p_gizmo->add_lines(points, material, false, collision_color); p_gizmo->add_collision_segments(points); Vector handles; - handles.push_back(Vector3(r, 0, 0)); + handles.push_back(Vector3(radius, 0, 0)); p_gizmo->add_handles(handles, handles_material); }