Add an option to disable in-stream GUI

This commit is contained in:
Patrick Nicolas
2025-08-11 10:44:44 +02:00
parent e7b218bfb6
commit 9725ae7fc0
5 changed files with 20 additions and 2 deletions
+5 -2
View File
@@ -465,8 +465,11 @@ void scenes::stream::on_focused()
swapchain_imgui,
std::vector{vp});
plots_toggle_1 = get_action("plots_toggle_1").first;
plots_toggle_2 = get_action("plots_toggle_2").first;
if (application::get_config().enable_stream_gui)
{
plots_toggle_1 = get_action("plots_toggle_1").first;
plots_toggle_2 = get_action("plots_toggle_2").first;
}
recenter_left = get_action("recenter_left").first;
recenter_right = get_action("recenter_right").first;
foveation_pitch = get_action("foveation_pitch").first;