Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 1, 2024
1 parent 32ce3b0 commit 0d78459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ impl TypedComponentFallbackProvider<ValueRange> 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();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 0d78459

Please sign in to comment.