From 4a0fa85e24508be291f7db791193eb3f17c7f7b0 Mon Sep 17 00:00:00 2001 From: Elijah Parker Date: Fri, 11 Oct 2019 15:31:30 -0500 Subject: [PATCH] memory management --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index 8bc7ac0fd..b66ba1dcd 100644 --- a/main.js +++ b/main.js @@ -1562,6 +1562,7 @@ if (VIEW_HARDWARE) { ui.status("liveview error"); } }); + lists.fixedApertureEv = core.currentProgram.manualAperture; console.log("(exposure) started liveview, getting settings..."); inputs.on('B', captureButtonHandler); core.getSettings(function() { @@ -2477,6 +2478,7 @@ if (VIEW_HARDWARE) { liveviewOnApp = false; inputs.on('B', captureButtonHandler); console.log("(capture) started liveview, getting settings..."); + lists.fixedApertureEv = core.currentProgram.manualAperture; core.getSettings(function() { console.log("(capture) done getting settings, enabling knob"); stats = lists.evStats(core.cameraSettings);