From 102dd8be6c77a28848010e9adefd13ea537e9fa2 Mon Sep 17 00:00:00 2001 From: MarekSpodBiedry <73122968+MarekSpodBiedry@users.noreply.github.com> Date: Sun, 18 Oct 2026 18:42:21 +0200 Subject: [PATCH] Give the multi-target Essential Graphics test distinct key times; group the Tick import --- crates/engine/src/tests_essential_more.rs | 2 +- crates/project/src/essential.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/src/tests_essential_more.rs b/crates/engine/src/tests_essential_more.rs index 32f8ac4a6..720c87e91 100644 --- a/crates/engine/src/tests_essential_more.rs +++ b/crates/engine/src/tests_essential_more.rs @@ -243,7 +243,7 @@ fn instance_keys_follow_a_stretched_nested_layer() { #[test] fn one_control_with_targets_of_different_timing_stays_in_step() { - let (s, scene, inner, [a, b], inst) = keyed_instance([(0.5, 100.0), (0.0, 200.0)]); + let (s, scene, inner, [a, b], inst) = keyed_instance([(0.5, 100.0), (0.25, 200.0)]); for t in [0.2, 0.6, 0.75, 0.9] { let (va, pa) = rendered(&s, scene, inner, inst, a, t); let (vb, pb) = rendered(&s, scene, inner, inst, b, t); diff --git a/crates/project/src/essential.rs b/crates/project/src/essential.rs index 021c1a8fc..cc3b12209 100644 --- a/crates/project/src/essential.rs +++ b/crates/project/src/essential.rs @@ -12,11 +12,11 @@ //! [`sync_project`] keeps the groups in step with the controls (and refreshes the values of //! controls that are not overridden), [`with_overrides`] builds the project an instance renders. +use effectcraft_time::Tick; use serde::{Deserialize, Serialize}; use crate::props::{GroupKind, Node, ParamUi, PropGroup, Property, Uid}; use crate::{ItemId, ItemKind, Keyframe, Layer, LayerId, LayerSource, Project, Value}; -use effectcraft_time::Tick; /// Match id of the Essential Properties group on precomp layers. pub const GROUP: &str = "essential";