From ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8 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 --- editor/plugins/node_3d_editor_gizmos.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/node_3d_editor_gizmos.cpp b/editor/plugins/node_3d_editor_gizmos.cpp index 26af5e3f2dc..47088a2bac7 100644 --- a/editor/plugins/node_3d_editor_gizmos.cpp +++ b/editor/plugins/node_3d_editor_gizmos.cpp @@ -1937,6 +1937,7 @@ void Camera3DGizmoPlugin::redraw(EditorNode3DGizmo *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")); }