summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 10:56:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 10:56:39 +0100
commit4845feb95d3d209f333c0536f34143fdcaf46565 (patch)
tree46459d8e3fae32a76083353a89f299bf67bd76b0
parentf0dcefe5f85582d8f4afb4ea8740824c32983267 (diff)
parentca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8 (diff)
Merge pull request #68003 from timothyqiu/camera-gizmo-select
Make Camera3D gizmo clickable
-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"));
}