Skip to content

Commit

Permalink
rebase shenaniganeries
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Apr 26, 2024
1 parent 993800c commit ccd3eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/re_space_view/src/sub_archetypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn space_view_sub_archetype<A: re_types::Archetype>(
space_view_id: re_viewer_context::SpaceViewId,
) -> Option<A>
where
CachedLatestAtResults: ToArchetype<A>,
LatestAtResults: ToArchetype<A>,
{
let blueprint_db = ctx.store_context.blueprint;
let blueprint_query = ctx.blueprint_query;
Expand All @@ -37,6 +37,7 @@ where
.latest_at_archetype(&path, blueprint_query)
.ok()
.flatten()
.map(|(_index, value)| value)
}

/// Returns `Ok(None)` if any of the required components are missing.
Expand Down

0 comments on commit ccd3eb6

Please sign in to comment.