From 125ce6fa86b22e79c887fc3f6365c6966ad66a62 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Fri, 13 Jun 2025 23:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=9E=84=E9=80=A0=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E9=87=8C=E7=9A=84=E7=89=88=E6=9C=AC=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Models/SpineObjectModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpineViewer/Models/SpineObjectModel.cs b/SpineViewer/Models/SpineObjectModel.cs index 6501865..069d267 100644 --- a/SpineViewer/Models/SpineObjectModel.cs +++ b/SpineViewer/Models/SpineObjectModel.cs @@ -40,9 +40,9 @@ namespace SpineViewer.Models /// /// 构造函数, 可能会抛出异常 /// - public SpineObjectModel(string skelPath, string? atlasPath = null, SpineVersion? version = null) + public SpineObjectModel(string skelPath, string? atlasPath = null) { - _spineObject = new(skelPath, atlasPath, version); + _spineObject = new(skelPath, atlasPath); _skins = _spineObject.Data.Skins.Select(v => v.Name).ToImmutableArray(); _slotAttachments = _spineObject.Data.SlotAttachments.ToFrozenDictionary(it => it.Key, it => it.Value.Keys); _animations = _spineObject.Data.Animations.Select(v => v.Name).ToImmutableArray();