diff --git a/SpineViewer/src/Spine/Implementations/Spine36.cs b/SpineViewer/src/Spine/Implementations/Spine36.cs index 09bb936..469cf91 100644 --- a/SpineViewer/src/Spine/Implementations/Spine36.cs +++ b/SpineViewer/src/Spine/Implementations/Spine36.cs @@ -162,7 +162,7 @@ namespace SpineViewer.Spine.Implementations public override string CurrentAnimation { get => animationState.GetCurrent(0)?.Animation.Name ?? DefaultAnimationName; - set { if (animationNames.Contains(value)) animationState.SetAnimation(0, value, true); } + set { if (animationNames.Contains(value)) { animationState.SetAnimation(0, value, true); Update(0); } } } public override RectangleF Bounds diff --git a/SpineViewer/src/Spine/Implementations/Spine38.cs b/SpineViewer/src/Spine/Implementations/Spine38.cs index 1b02291..d0f3abf 100644 --- a/SpineViewer/src/Spine/Implementations/Spine38.cs +++ b/SpineViewer/src/Spine/Implementations/Spine38.cs @@ -173,7 +173,7 @@ namespace SpineViewer.Spine.Implementations public override string CurrentAnimation { get => animationState.GetCurrent(0)?.Animation.Name ?? DefaultAnimationName; - set { if (animationNames.Contains(value)) animationState.SetAnimation(0, value, true); } + set { if (animationNames.Contains(value)) { animationState.SetAnimation(0, value, true); Update(0); } } } public override RectangleF Bounds