mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-31 07:38:24 +00:00
Roto model loading: keep the stale-load helper test-only
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RDvxCS8xcR28VArjzn1x7U
This commit is contained in:
1 parent
020d5cf980
commit
92cd555440
1 file changed
+1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user