We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 993800c commit ccd3eb6Copy full SHA for ccd3eb6
crates/re_space_view/src/sub_archetypes.rs
@@ -28,7 +28,7 @@ pub fn space_view_sub_archetype<A: re_types::Archetype>(
28
space_view_id: re_viewer_context::SpaceViewId,
29
) -> Option<A>
30
where
31
- CachedLatestAtResults: ToArchetype<A>,
+ LatestAtResults: ToArchetype<A>,
32
{
33
let blueprint_db = ctx.store_context.blueprint;
34
let blueprint_query = ctx.blueprint_query;
@@ -37,6 +37,7 @@ where
37
.latest_at_archetype(&path, blueprint_query)
38
.ok()
39
.flatten()
40
+ .map(|(_index, value)| value)
41
}
42
43
/// Returns `Ok(None)` if any of the required components are missing.
0 commit comments