From 5eaed8b2182cedf5534b9436bea47de046e964ac Mon Sep 17 00:00:00 2001 From: Kristian Myram Date: Fri, 30 Oct 2026 10:20:55 +0100 Subject: [PATCH] #1539: reopen saved object mattes with their cache evicted --- crates/effects/src/roto.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/effects/src/roto.rs b/crates/effects/src/roto.rs index 8b021eb87..d6f27b9bf 100644 --- a/crates/effects/src/roto.rs +++ b/crates/effects/src/roto.rs @@ -1460,6 +1460,7 @@ mod tests { assert!(!saved.objects.contains_key(&1)); params.values.insert(TRACKED.into(), Value::Str(saved.to_json())); params.values.insert("rotoBrushMatte/object".into(), Value::Scalar(1.0)); + forget(chain.keys.values().map(|key| object_key(*key, 0))); let reopened = Chain::new(¶ms, [100.0, 80.0], 25.0, 1.0); assert_eq!(reopened.object_seg(1, 0).unwrap().matte, matte.matte); assert_eq!(reopened.ensure(1, &mut |_| None, &|| false).unwrap().matte, matte.matte);