Skip to content

M-Film: film simulation for Canon EOS cameras with Magic Lantern. 72 film stocks (Portra, Velvia, Tri-X, CineStill…), a film-camera interface and an in-camera darkroom that develops your RAWs. 5D Mark III, 6D, 600D, 650D, 700D, EOS M and more.

Exposure simulation: not put back while the shutter is half-pressed

Claude312a75fe4e2e
diff --git a/ml-dev/fork/src/filmroll.c b/ml-dev/fork/src/filmroll.c
index 8d88749..83f47c5 100644
--- a/ml-dev/fork/src/filmroll.c
+++ b/ml-dev/fork/src/filmroll.c
@@ -331,8 +331,10 @@ static void expsim_step()
expsim_due = 0;
return;
}
- /* photo LiveView only (the 5D Mark II's movie display is its own), between pictures */
- if (!lv || is_movie_mode() || !job_state_ready_to_take_pic() || now - wait_until < 0)
+ /* photo LiveView only (the 5D Mark II's movie display is its own), between pictures,
+ * and not on a half-press: not while Canon focuses and meters (a roll just loaded,
+ * the first thing done is often to half-press) */
+ if (!lv || is_movie_mode() || get_halfshutter_pressed() || !job_state_ready_to_take_pic() || now - wait_until < 0)
return;
int want = expsim_set ? 1 : 0;
if (get_expsim() != want && tries < 5)