From 449e64b77120e1dfcb1400ee3b47fe1cf68b0f2e Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Mon, 27 Jan 2020 12:28:13 +0200
Subject: [PATCH] Always add right chan for virtual

---
 applications/gui/src/camera.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/gui/src/camera.hpp b/applications/gui/src/camera.hpp
index adc346055..3c68015ee 100644
--- a/applications/gui/src/camera.hpp
+++ b/applications/gui/src/camera.hpp
@@ -57,7 +57,7 @@ class Camera {
 	/**
 	 * Update the available channels.
 	 */
-	void update(const ftl::codecs::Channels<0> &c) { channels_ = c; }
+	void update(const ftl::codecs::Channels<0> &c) { channels_ = (isVirtual()) ? c + ftl::codecs::Channel::Right : c; }
 
 	void draw(ftl::rgbd::FrameSet &fs);
 
-- 
GitLab