Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Sep 10, 2024
1 parent 5df57f3 commit c0efad5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions crates/store/re_data_loader/src/loader_archetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ fn load_video(
})
.collect::<Vec<_>>();
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)?;

Expand All @@ -280,7 +280,7 @@ fn load_video(
ArrowListArray::<i32>::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(),
Expand All @@ -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(),
Expand Down
4 changes: 2 additions & 2 deletions crates/viewer/re_space_view_spatial/src/visualizers/videos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 _;

Expand Down Expand Up @@ -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`].
Expand Down

0 comments on commit c0efad5

Please sign in to comment.