From 051a8bdc1dbfe4abe85db6e432fffcb49f43b9b9 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Thu, 17 Oct 2019 21:33:39 +0300 Subject: [PATCH] Fix for right channel --- components/renderers/cpp/src/splat_render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/renderers/cpp/src/splat_render.cpp b/components/renderers/cpp/src/splat_render.cpp index 4b94e29c3..bf259a940 100644 --- a/components/renderers/cpp/src/splat_render.cpp +++ b/components/renderers/cpp/src/splat_render.cpp @@ -467,7 +467,7 @@ bool Splatter::render(ftl::rgbd::VirtualSource *src, ftl::rgbd::Frame &out) { out.get<GpuMat>(Channel::Right).setTo(background_, cvstream); _dibr(stream_); // Need to re-dibr due to pose change - _renderChannel(out, Channel::Right, Channel::Right, stream_); + _renderChannel(out, Channel::Left, Channel::Right, stream_); } else if (chan != Channel::None) { if (ftl::codecs::isFloatChannel(chan)) { out.create<GpuMat>(chan, Format<float>(camera.width, camera.height)); -- GitLab