diff --git a/crates/re_space_view/src/sub_archetypes.rs b/crates/re_space_view/src/sub_archetypes.rs index 2325aa3b2868..8318470268e1 100644 --- a/crates/re_space_view/src/sub_archetypes.rs +++ b/crates/re_space_view/src/sub_archetypes.rs @@ -28,7 +28,7 @@ pub fn space_view_sub_archetype( space_view_id: re_viewer_context::SpaceViewId, ) -> Option where - CachedLatestAtResults: ToArchetype, + LatestAtResults: ToArchetype, { let blueprint_db = ctx.store_context.blueprint; let blueprint_query = ctx.blueprint_query; @@ -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.