From 9ff87a7ad92d7ae0c6b135240f252208245f0739 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Sun, 6 Sep 2020 09:00:43 +0300 Subject: [PATCH] Fix to use correct view with FTL files --- applications/gui2/src/modules/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/gui2/src/modules/camera.cpp b/applications/gui2/src/modules/camera.cpp index 779c2631f..7ffe5e6eb 100644 --- a/applications/gui2/src/modules/camera.cpp +++ b/applications/gui2/src/modules/camera.cpp @@ -168,7 +168,7 @@ void Camera::initiate_(ftl::data::Frame &frame) { } } - if (cap.count(Capability::VIRTUAL)) { + if (live_ && cap.count(Capability::VIRTUAL)) { view = new ftl::gui2::CameraView3D(screen, this); } else { view = new ftl::gui2::CameraView(screen, this); -- GitLab