From 1a3e035eb869387e843b43bcb19b2192fcab25b5 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Fri, 12 Jul 2024 11:13:39 +0200 Subject: [PATCH] Link to _view_ entities (not data store entities) --- .../re_space_view_dataframe/src/space_view_class.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/crates/viewer/re_space_view_dataframe/src/space_view_class.rs b/crates/viewer/re_space_view_dataframe/src/space_view_class.rs index 5f22b9b018373..427ad5955fade 100644 --- a/crates/viewer/re_space_view_dataframe/src/space_view_class.rs +++ b/crates/viewer/re_space_view_dataframe/src/space_view_class.rs @@ -208,7 +208,7 @@ fn entity_and_time_vs_component_ui( &latest_at_query, ctx.recording(), ui, - None, + Some(query.space_view_id), entity_path, ); }); @@ -325,7 +325,14 @@ fn entity_and_instance_vs_component_ui( let instance = &sorted_instance_paths[row.index()]; row.col(|ui| { - instance_path_button(ctx, &latest_at_query, ctx.recording(), ui, None, instance); + instance_path_button( + ctx, + &latest_at_query, + ctx.recording(), + ui, + Some(query.space_view_id), + instance, + ); }); for component_name in &sorted_components { @@ -338,7 +345,7 @@ fn entity_and_instance_vs_component_ui( ); if let Some(results) = - // This is a duplicate of the one above, but this ok since this codes runs + // This is a duplicate of the one above, but this is ok since this codes runs // *only* for visible rows. results.components.get(component_name) {