From 5283a2a71365d396bfa41de6566b388297a47de1 Mon Sep 17 00:00:00 2001 From: dan-rpm Date: Tue, 17 Sep 2024 15:57:44 +0300 Subject: [PATCH] feat: mixer deps updated --- .../MultipleAnimationModel/MultipleAnimationModel.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Models/MultipleAnimationModel/MultipleAnimationModel.component.tsx b/src/components/Models/MultipleAnimationModel/MultipleAnimationModel.component.tsx index 6c980687..3cbef69d 100644 --- a/src/components/Models/MultipleAnimationModel/MultipleAnimationModel.component.tsx +++ b/src/components/Models/MultipleAnimationModel/MultipleAnimationModel.component.tsx @@ -74,7 +74,7 @@ export const MultipleAnimationModel: FC = ({ newAction.play(); setActiveAction(newAction); - }, [activeAnimation, loadedAnimations, activeAction]); + }, [activeAnimation, loadedAnimations, activeAction, nodes.Armature]); useFrame((state, delta) => { mixerRef.current?.update(delta);