From c0efad514e8475acb2b2c019fe9291505d17007f Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Tue, 10 Sep 2024 17:19:39 +0200 Subject: [PATCH] typo fixes --- crates/store/re_data_loader/src/loader_archetype.rs | 6 +++--- .../viewer/re_space_view_spatial/src/visualizers/videos.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/store/re_data_loader/src/loader_archetype.rs b/crates/store/re_data_loader/src/loader_archetype.rs index e42a39a122d3..6f29163ef7b6 100644 --- a/crates/store/re_data_loader/src/loader_archetype.rs +++ b/crates/store/re_data_loader/src/loader_archetype.rs @@ -270,7 +270,7 @@ fn load_video( }) .collect::>(); let video_timestamp_batch = &video_timestamps as &dyn ComponentBatch; - let video_timestmap_list_array = video_timestamp_batch + let video_timestamp_list_array = video_timestamp_batch .to_arrow_list_array() .map_err(re_chunk::ChunkError::from)?; @@ -280,7 +280,7 @@ fn load_video( ArrowListArray::::default_datatype( video_frame_reference_indicator_datatype.clone(), ), - video_timestmap_list_array.offsets().clone(), + video_timestamp_list_array.offsets().clone(), Box::new(ArrowNullArray::new( video_frame_reference_indicator_datatype, video_timestamps.len(), @@ -298,7 +298,7 @@ fn load_video( VideoFrameReference::indicator().name(), video_frame_reference_indicator_list_array, ), - (video_timestamp_batch.name(), video_timestmap_list_array), + (video_timestamp_batch.name(), video_timestamp_list_array), ] .into_iter() .collect(), diff --git a/crates/viewer/re_space_view_spatial/src/visualizers/videos.rs b/crates/viewer/re_space_view_spatial/src/visualizers/videos.rs index 040687ef37c3..dcbe5bbb5755 100644 --- a/crates/viewer/re_space_view_spatial/src/visualizers/videos.rs +++ b/crates/viewer/re_space_view_spatial/src/visualizers/videos.rs @@ -77,7 +77,7 @@ impl VisualizerSystem for VideoFrameReferenceVisualizer { |ctx, spatial_ctx, results| { // TODO(andreas): Should ignore range queries here and only do latest-at. // Not only would this simplify the code here quite a bit, it would also avoid lots of overhead. - // Same is true for the image visualizers in general - there seems to be no practial reason to do range queries + // Same is true for the image visualizers in general - there seems to be no practical reason to do range queries // for visualization here. use re_space_view::RangeResultsExt as _; @@ -208,7 +208,7 @@ fn textured_rect_for_video_frame( } } -/// Queries a video from the datatore and caches it in the video cache. +/// Queries a video from the datstore and caches it in the video cache. /// /// Note that this does *NOT* check the blueprint store at all. /// For this, we'd need a [`re_viewer_context::DataResult`] instead of merely a [`EntityPath`].