From 6484327489a0060945e583cadfd136dbe3b337b1 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 29 Oct 2022 12:38:21 +0800 Subject: [PATCH] Make Camera3D gizmo clickable (cherry picked from commit ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8) --- editor/spatial_editor_gizmos.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp index b93e1866f..57491a022 100644 --- a/editor/spatial_editor_gizmos.cpp +++ b/editor/spatial_editor_gizmos.cpp @@ -1975,6 +1975,7 @@ void CameraSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) { #undef ADD_QUAD p_gizmo->add_lines(lines, material); + p_gizmo->add_collision_segments(lines); p_gizmo->add_handles(handles, get_material("handles")); ClippedCamera *clipcam = Object::cast_to(camera);