From 8e5ab194dd7ae58c455cda0531790de29add40b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Wed, 20 Nov 2024 12:04:31 +0100 Subject: [PATCH] WIP: optional entity rects --- crates/viewer/re_space_view_graph/src/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/viewer/re_space_view_graph/src/view.rs b/crates/viewer/re_space_view_graph/src/view.rs index fd57eec094e6..b51018243da5 100644 --- a/crates/viewer/re_space_view_graph/src/view.rs +++ b/crates/viewer/re_space_view_graph/src/view.rs @@ -197,7 +197,7 @@ impl SpaceViewClass for GraphSpaceView { } // Draw entity rect. - if entity_rect.is_positive() { + if graphs.len() > 1 && entity_rect.is_positive() { let response = scene.entity(entity, entity_rect, &query.highlights); let instance_path = InstancePath::entity_all((*entity).clone());