From d94ca3dd35e73e1984ccb969d0c7abd0d3e0faa9 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 4 Apr 2023 09:44:30 +0200 Subject: [PATCH] Fix crash when trying to do picking on depth clouds --- crates/re_renderer/src/renderer/depth_cloud.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/re_renderer/src/renderer/depth_cloud.rs b/crates/re_renderer/src/renderer/depth_cloud.rs index c69def6eca10..b66097528b64 100644 --- a/crates/re_renderer/src/renderer/depth_cloud.rs +++ b/crates/re_renderer/src/renderer/depth_cloud.rs @@ -551,7 +551,7 @@ impl Renderer for DepthCloudRenderer { let bind_group = match phase { DrawPhase::OutlineMask => &instance.bind_group_outline, - DrawPhase::Opaque => &instance.bind_group_opaque, + DrawPhase::PickingLayer | DrawPhase::Opaque => &instance.bind_group_opaque, _ => unreachable!(), };