Fix bug where resolution of confidence image is not set in playback mode, and depth is overwritten by confidence
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user