From 05ed1f113545c2a334e4e4ca5bcaf9b31c564100 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 24 Nov 2024 11:15:34 -0500 Subject: [PATCH] 2d: support animating from ResHandle, not just non-asset handles --- examples/2d/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/2d/src/main.rs b/examples/2d/src/main.rs index a4e914d..cc40c29 100644 --- a/examples/2d/src/main.rs +++ b/examples/2d/src/main.rs @@ -141,6 +141,7 @@ fn setup_scene_plugin(app: &mut App) { ("soldier_run", 0.1, 9..=16), ]); let run_anim = animations.get_active("soldier_run"); + let animations = resman.store_new(animations); drop(resman);