Storyboard: a changed shot still counts as filmed

This commit is contained in:
gator 2026-09-21 12:54:44 +00:00
parent 8e235f9739
commit d0e450781d

View file

@ -589,7 +589,7 @@
var unfilmed = shots.filter(function (s) { return !s.clip_url || s.clip_stale; }).length; var unfilmed = shots.filter(function (s) { return !s.clip_url || s.clip_stale; }).length;
var changed = shots.filter(function (s) { return s.clip_url && s.clip_stale; }).length; var changed = shots.filter(function (s) { return s.clip_url && s.clip_stale; }).length;
var unfilmedUsd = filmCostAll(shots.filter(function (s) { return !s.clip_url || s.clip_stale; })); var unfilmedUsd = filmCostAll(shots.filter(function (s) { return !s.clip_url || s.clip_stale; }));
var filmed = shots.length - unfilmed; var filmed = shots.filter(function (s) { return s.clip_url; }).length; // a changed shot is still filmed
var imgs = boardImages(shots, cast); var imgs = boardImages(shots, cast);
var s = String(meta.draw_state || ""); var s = String(meta.draw_state || "");
var drawing = s && !/^(drawn|failed)/.test(s); var drawing = s && !/^(drawn|failed)/.test(s);