mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Make Camera3D gizmo clickable
(cherry picked from commit ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8)
This commit is contained in:
parent
43cb6e940a
commit
6484327489
@ -1975,6 +1975,7 @@ void CameraSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) {
|
|||||||
#undef ADD_QUAD
|
#undef ADD_QUAD
|
||||||
|
|
||||||
p_gizmo->add_lines(lines, material);
|
p_gizmo->add_lines(lines, material);
|
||||||
|
p_gizmo->add_collision_segments(lines);
|
||||||
p_gizmo->add_handles(handles, get_material("handles"));
|
p_gizmo->add_handles(handles, get_material("handles"));
|
||||||
|
|
||||||
ClippedCamera *clipcam = Object::cast_to<ClippedCamera>(camera);
|
ClippedCamera *clipcam = Object::cast_to<ClippedCamera>(camera);
|
||||||
|
Loading…
Reference in New Issue
Block a user