Make Camera3D gizmo clickable

(cherry picked from commit ca9063fe4e)
This commit is contained in:
Haoyu Qiu 2022-10-29 12:38:21 +08:00
parent 2f13adbdb6
commit 57c429975c

View file

@ -1450,6 +1450,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<ClippedCamera>(camera);