From 81b133309189c2911f60257a638d38bc63a5c225 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Wed, 26 Mar 2025 15:20:49 +0800 Subject: [PATCH] small change --- SpineViewer/Exporter/Implementations/Exporter/VideoExporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpineViewer/Exporter/Implementations/Exporter/VideoExporter.cs b/SpineViewer/Exporter/Implementations/Exporter/VideoExporter.cs index 7dbc742..0f9e2c4 100644 --- a/SpineViewer/Exporter/Implementations/Exporter/VideoExporter.cs +++ b/SpineViewer/Exporter/Implementations/Exporter/VideoExporter.cs @@ -25,7 +25,7 @@ namespace SpineViewer.Exporter.Implementations.Exporter // 独立导出时如果 args.Duration 小于 0 则使用自己的动画时长 var duration = args.Duration; - if (duration < 0) duration = spine.GetAnimationDuration(spine.CurrentAnimation); + if (duration < 0) duration = spine.CurrentAnimationDuration; float delta = 1f / args.FPS; int total = Math.Max(1, (int)(duration * args.FPS)); // 至少导出 1 帧