From ccd3eb647f03b08dd4b33586efe494976e68c55c Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 26 Apr 2024 12:55:20 +0200 Subject: [PATCH] rebase shenaniganeries --- crates/re_space_view/src/sub_archetypes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.