Fix bug where resolution of confidence image is not set in playback mode, and depth is overwritten by confidence

This commit is contained in:
Georg Hagen
2025-03-03 18:48:12 +01:00
parent efcee95158
commit b1c1697def

View File

@@ -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())
{