summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-10-29 12:38:21 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-10-29 12:38:21 +0800
commitca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8 (patch)
treef85f105fd6c2ace523dff33db7bd5e6740000c8f /editor
parent11e1bac768349ae821647a582282458e83b8d72b (diff)
Make Camera3D gizmo clickable
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/node_3d_editor_gizmos.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/node_3d_editor_gizmos.cpp b/editor/plugins/node_3d_editor_gizmos.cpp
index 26af5e3f2d..47088a2bac 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"));
}