diff --git a/crates/re_viewer/src/ui/rerun_menu.rs b/crates/re_viewer/src/ui/rerun_menu.rs index ee473b389ffd..d4f5fe21885c 100644 --- a/crates/re_viewer/src/ui/rerun_menu.rs +++ b/crates/re_viewer/src/ui/rerun_menu.rs @@ -390,6 +390,14 @@ fn experimental_feature_ui( "Plots: query clamping", ) .on_hover_text("Toggle query clamping for the plot visualizers."); + + re_ui + .checkbox( + ui, + &mut app_options.experimental_visualizer_selection, + "Visualizer selection for all views", + ) + .on_hover_text("Enables explicit visualizer selection for all views, not just Time Series where it's default enabled."); } #[cfg(debug_assertions)] diff --git a/crates/re_viewer/src/ui/selection_panel.rs b/crates/re_viewer/src/ui/selection_panel.rs index c7d83c63edcd..85a79b68554f 100644 --- a/crates/re_viewer/src/ui/selection_panel.rs +++ b/crates/re_viewer/src/ui/selection_panel.rs @@ -186,7 +186,9 @@ impl SelectionPanel { // TODO(jleibs): Overrides still require special handling inside the visualizers. // For now, only show the override section for TimeSeries until support is implemented // generically. - if space_view.class_identifier() == TimeSeriesSpaceView::IDENTIFIER { + if space_view.class_identifier() == TimeSeriesSpaceView::IDENTIFIER + || ctx.app_options.experimental_visualizer_selection + { ctx.re_ui .large_collapsing_header(ui, "Visualizers", true, |ui| { override_visualizer_ui(ctx, space_view, instance_path, ui); diff --git a/crates/re_viewer_context/src/app_options.rs b/crates/re_viewer_context/src/app_options.rs index dfb27a75711d..abd284a5eb2f 100644 --- a/crates/re_viewer_context/src/app_options.rs +++ b/crates/re_viewer_context/src/app_options.rs @@ -22,6 +22,9 @@ pub struct AppOptions { /// Toggle query clamping for the plot visualizers. pub experimental_plot_query_clamping: bool, + /// Toggle explicit visualizer selection for all views. + pub experimental_visualizer_selection: bool, + /// Displays an overlay for debugging picking. pub show_picking_debug_overlay: bool, @@ -53,6 +56,8 @@ impl Default for AppOptions { experimental_plot_query_clamping: false, + experimental_visualizer_selection: false, + show_picking_debug_overlay: false, inspect_blueprint_timeline: false,