From b1c1697defbaad53da98f0e2c4ec163fe470bd52 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Mon, 3 Mar 2025 18:48:12 +0100 Subject: [PATCH] Fix bug where resolution of confidence image is not set in playback mode, and depth is overwritten by confidence --- openVulkanoCpp/AR/Provider/Playback/ArFramePlayback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openVulkanoCpp/AR/Provider/Playback/ArFramePlayback.cpp b/openVulkanoCpp/AR/Provider/Playback/ArFramePlayback.cpp index 26d7601..e583124 100644 --- a/openVulkanoCpp/AR/Provider/Playback/ArFramePlayback.cpp +++ b/openVulkanoCpp/AR/Provider/Playback/ArFramePlayback.cpp @@ -26,7 +26,7 @@ namespace OpenVulkano::AR::Playback depthImage.depth.data = depthImgData.get(); depthImage.depth.resolution = {depth.depth.header.width, depth.depth.header.height}; depthImage.confidence.data = confImgData.get(); - depthImage.depth.resolution = {depth.confidence.header.width, depth.confidence.header.height}; + depthImage.confidence.resolution = {depth.confidence.header.width, depth.confidence.header.height}; } if (session->IsLoadColorEnabled()) {