diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-10-29 12:38:21 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-10-29 12:38:21 +0800 |
commit | ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8 (patch) | |
tree | f85f105fd6c2ace523dff33db7bd5e6740000c8f /editor | |
parent | 11e1bac768349ae821647a582282458e83b8d72b (diff) |
Make Camera3D gizmo clickable
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/node_3d_editor_gizmos.cpp | 1 |
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")); } |