diff --git a/crates/viewer/re_space_view_spatial/src/visualizers/depth_images.rs b/crates/viewer/re_space_view_spatial/src/visualizers/depth_images.rs index 61f143e59305..244a058d49b4 100644 --- a/crates/viewer/re_space_view_spatial/src/visualizers/depth_images.rs +++ b/crates/viewer/re_space_view_spatial/src/visualizers/depth_images.rs @@ -391,8 +391,7 @@ impl TypedComponentFallbackProvider for DepthImageVisualizer { }; let cache = ctx.viewer_ctx.cache; let image_stats = cache.entry(|c: &mut ImageStatsCache| c.entry(&image)); - let default_range = - ColormapWithRange::default_range_for_depth_images(&image_stats); + let default_range = ColormapWithRange::default_range_for_depth_images(&image_stats); return [default_range[0] as f64, default_range[1] as f64].into(); } } diff --git a/crates/viewer/re_space_view_spatial/src/visualizers/utilities/textured_rect.rs b/crates/viewer/re_space_view_spatial/src/visualizers/utilities/textured_rect.rs index 42af693bdc55..1a09222abcf7 100644 --- a/crates/viewer/re_space_view_spatial/src/visualizers/utilities/textured_rect.rs +++ b/crates/viewer/re_space_view_spatial/src/visualizers/utilities/textured_rect.rs @@ -3,8 +3,7 @@ use glam::Vec3; use re_log_types::EntityPath; use re_renderer::renderer; use re_viewer_context::{ - gpu_bridge, ColormapWithRange, ImageInfo, ImageStatsCache, SpaceViewClass as _, - ViewerContext, + gpu_bridge, ColormapWithRange, ImageInfo, ImageStatsCache, SpaceViewClass as _, ViewerContext, }; use crate::{contexts::SpatialSceneEntityContext, SpatialSpaceView2D};