fix(analysis): record nothing for frames that changed while an analysis ran
A light or deep analysis read its frames at the start and, under the sequence lock, recorded AnalyzedLight, the warning count and the advisor's Auto values for them whatever happened meanwhile. Frames added by an upload, an import or a scan's reconcile then kept advice and warnings counted on the old frame count, over a newer light analysis, and scans never queued another one because AnalyzedLight was set again. Under the lock the analysis now compares the row's frames version with the one it read. When it moved and no light analysis is queued for the sequence, it records nothing (a deep pass keeps only analysis.json and its per-frame measurements), and the job logs it and queues a light analysis of the frames as they are. A queued light analysis replaces what the pass records, as for image passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
7 files changed
+143
-7
No files matched your search
@@ -54,6 +54,7 @@
|
||||
<data name="Advisor.Log.AutoUpdated" xml:space="preserve"><value>Automatic values of {0} updated.</value><comment>job log line; {0} sequence title</comment></data>
|
||||
<data name="Advisor.Log.DeepDone" xml:space="preserve"><value>Deep analysis of {0}: frames {1}, warnings {2}.</value><comment>job log line; {0} sequence title; {1} frame count; {2} warning count</comment></data>
|
||||
<data name="Advisor.Log.Failed" xml:space="preserve"><value>{0} could not be analysed: {1}</value><comment>long: job log line; {0} sequence title; {1} reason</comment></data>
|
||||
<data name="Advisor.Log.FramesChanged" xml:space="preserve"><value>The photos of {0} changed during the analysis, so its results were not applied; a light analysis follows.</value><comment>job log line; {0} sequence title</comment></data>
|
||||
<data name="Advisor.Log.LightDone" xml:space="preserve"><value>Light analysis of {0}: frames {1}, warnings {2}.</value><comment>job log line; {0} sequence title; {1} frame count; {2} warning count</comment></data>
|
||||
<data name="Advisor.Log.Presets" xml:space="preserve"><value>Suggested presets: {0}</value><comment>job log line; {0} preset names separated by dots</comment></data>
|
||||
<data name="Advisor.Log.ProjectUnreadable" xml:space="preserve"><value>The project settings of {0} cannot be read; their automatic values were left as they were.</value><comment>job log line; {0} sequence title</comment></data>
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
<data name="Advisor.Log.AutoUpdated" xml:space="preserve"><value>Valori automatici di {0} aggiornati.</value></data>
|
||||
<data name="Advisor.Log.DeepDone" xml:space="preserve"><value>Analisi approfondita di {0}: fotogrammi {1}, avvisi {2}.</value></data>
|
||||
<data name="Advisor.Log.Failed" xml:space="preserve"><value>Impossibile analizzare {0}: {1}</value></data>
|
||||
<data name="Advisor.Log.FramesChanged" xml:space="preserve"><value>Le foto di {0} sono cambiate durante l'analisi, quindi i risultati non sono stati applicati; segue un'analisi rapida.</value></data>
|
||||
<data name="Advisor.Log.LightDone" xml:space="preserve"><value>Analisi rapida di {0}: fotogrammi {1}, avvisi {2}.</value></data>
|
||||
<data name="Advisor.Log.Presets" xml:space="preserve"><value>Preset suggeriti: {0}</value></data>
|
||||
<data name="Advisor.Log.ProjectUnreadable" xml:space="preserve"><value>Le impostazioni del progetto di {0} non sono leggibili; i valori automatici sono rimasti invariati.</value></data>
|
||||
|
||||
Reference in new issue
Block a user