Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

3D: a model copy's cache key covers the model's Essential Property overrides (#2707)

tylerjenningsw474e73b85c72
diff --git a/crates/render/src/cache/dependencies.rs b/crates/render/src/cache/dependencies.rs
index 2019d858a..db1465c07 100644
--- a/crates/render/src/cache/dependencies.rs
+++ b/crates/render/src/cache/dependencies.rs
@@ -83,6 +83,9 @@ impl Dependencies<'_> {
return None;
}
hash_debug(self.h, layer);
+ // An overridden clip plays on the layer clock and a keyed one from its key: the same
+ // selection at the same time can pose differently.
+ super::hash_overrides(self.h, ctx, layer.id);
hash_values(self.h, ctx, layer, &layer.props);
hash_debug(self.h, &ctx.world_matrix(layer));
if let Some(item) = layer.source.item() {