mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-31 05:27:08 -06:00
Merge main into fix/particle-birth-history
This commit is contained in:
+5
@@ -78,6 +78,11 @@ impl Dependencies<'_> {
|
||||
hash_debug(self.h, layer);
|
||||
hash_values(self.h, ctx, layer, &layer.props);
|
||||
hash_debug(self.h, &ctx.world_matrix(layer));
|
||||
// A cached owner never runs this layer's effects, so the comp camera and lights its
|
||||
// scene-reading effects see belong in the owner's key too (#1252).
|
||||
if super::reads_comp_scene(layer) {
|
||||
hash_debug(self.h, &crate::comp_scene(ctx, layer));
|
||||
}
|
||||
if super::time_dependent(layer, true) {
|
||||
layer.layer_time(ctx.time).0.hash(self.h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user