EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Roto model loading: keep the stale-load helper test-only
Claude92cd5554401c
diff --git a/crates/engine/src/analysis/models.rs b/crates/engine/src/analysis/models.rsindex b66680507..9ff8a5ca7 100644--- a/crates/engine/src/analysis/models.rs+++ b/crates/engine/src/analysis/models.rs@@ -67,6 +67,7 @@ impl Models {/// Activate a model that finished loading for the choice counted as `generation`; `false` (and the model is/// dropped) when the choice changed meanwhile.+ #[cfg(test)]pub(crate) fn set_active_if_current(&self, task: Task, model: Loaded, generation: u64) -> bool {activate_if_current(self.lane(task), &self.face_model, task, model, generation)}