Skip to content

Commit ff15cb4

Browse files
committed
Merge pull request #108494 from precup/fix-sphere-gizmo-handle
Fix sphere gizmo handle position
2 parents 121c311 + b9beb85 commit ff15cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/scene/3d/gizmos/physics/collision_shape_3d_gizmo_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ void CollisionShape3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {
396396
p_gizmo->add_lines(points, material, false, collision_color);
397397
p_gizmo->add_collision_segments(points);
398398
Vector<Vector3> handles;
399-
handles.push_back(Vector3(r, 0, 0));
399+
handles.push_back(Vector3(radius, 0, 0));
400400
p_gizmo->add_handles(handles, handles_material);
401401
}
402402

0 commit comments

Comments
 (0)