diff --git a/components/renderers/cpp/src/splat_render.cpp b/components/renderers/cpp/src/splat_render.cpp index fb7b0b9733fe83a7596ed3f5b35d8a43d407dc14..a7e796dc97d86d65c8f4082beadbd801f3cf9ca0 100644 --- a/components/renderers/cpp/src/splat_render.cpp +++ b/components/renderers/cpp/src/splat_render.cpp @@ -472,7 +472,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_); // renderFrame() expects to render right frame from left as well; Should // possibly add channel_in and channel_out parameters to renderFrame()? @@ -484,6 +484,7 @@ bool Splatter::render(ftl::rgbd::VirtualSource *src, ftl::rgbd::Frame &out) { swap(tmp, out.get<GpuMat>(Channel::Right)); */ + _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));