From de5b75ef1d9923ffe06edcb54cfc4c1acb865cb9 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Mon, 26 Jan 2026 21:09:37 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=8F=82=E6=95=B0=E6=97=B6=E4=B8=8D=E5=AE=8C?= =?UTF-8?q?=E6=95=B4=E9=94=99=E8=AF=AF?= 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 5f5906c..930fcdc 100644 --- a/SpineViewer/Models/SpineObjectModel.cs +++ b/SpineViewer/Models/SpineObjectModel.cs @@ -503,13 +503,13 @@ public void ApplyObjectConfig(SpineObjectConfigModel m, SpineObjectConfigApplyFl _spineObject.SetSkinStatus(name, true); } - if (flag == SpineObjectConfigApplyFlag.SlotAttachement) + if (flag == SpineObjectConfigApplyFlag.All || flag == SpineObjectConfigApplyFlag.SlotAttachement) { foreach (var (slotName, attachmentName) in m.SlotAttachment) _spineObject.SetAttachment(slotName, attachmentName); } - if (flag == SpineObjectConfigApplyFlag.SlotVisibility) + if (flag == SpineObjectConfigApplyFlag.All || flag == SpineObjectConfigApplyFlag.SlotVisibility) { foreach (var slotName in m.DisabledSlots) _spineObject.SetSlotVisible(slotName, false); From 41ec288990bd64b598241fc58d0930701c84ff29 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Tue, 27 Jan 2026 20:38:42 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E7=9A=84=E5=A3=81=E7=BA=B8=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Natives/User32.cs | 2 +- SpineViewer/Utils/WorkerWDebugger.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SpineViewer/Natives/User32.cs b/SpineViewer/Natives/User32.cs index c18723f..e453c79 100644 --- a/SpineViewer/Natives/User32.cs +++ b/SpineViewer/Natives/User32.cs @@ -292,7 +292,7 @@ public static nint GetWorkerW() // WorkerW behind the desktop icons. If it is already there, nothing // happens. SendMessageTimeout(progman, WM_SPAWN_WORKER, 0xD, 0x1, SMTO_NORMAL, 1000, out _); - SendMessageTimeout(progman, WM_SPAWN_WORKER, 0xD, 0x0, SMTO_NORMAL, 1000, out _); + //SendMessageTimeout(progman, WM_SPAWN_WORKER, 0xD, 0x0, SMTO_NORMAL, 1000, out _); // Spy++ output // ..... diff --git a/SpineViewer/Utils/WorkerWDebugger.cs b/SpineViewer/Utils/WorkerWDebugger.cs index 3751fe8..eb7fca4 100644 --- a/SpineViewer/Utils/WorkerWDebugger.cs +++ b/SpineViewer/Utils/WorkerWDebugger.cs @@ -50,12 +50,12 @@ public static void LogWorkerWSearchInfo() _logger.Debug("SendMessageTimeout(lParam=1) returned 0x{0:x8}", ret); _logger.Debug("ErrCode: 0x{0:x8}, ErrMsg: {1}", lastErr, lastErrMsg); - Marshal.SetLastPInvokeError(0); - ret = User32.SendMessageTimeout(progman, User32.WM_SPAWN_WORKER, 0xD, 0x0, User32.SMTO_NORMAL, 1000, out _); - lastErr = Marshal.GetLastPInvokeError(); - lastErrMsg = Marshal.GetLastPInvokeErrorMessage(); - _logger.Debug("SendMessageTimeout(lParam=0) returned 0x{0:x8}", ret); - _logger.Debug("ErrCode: 0x{0:x8}, ErrMsg: {1}", lastErr, lastErrMsg); + //Marshal.SetLastPInvokeError(0); + //ret = User32.SendMessageTimeout(progman, User32.WM_SPAWN_WORKER, 0xD, 0x0, User32.SMTO_NORMAL, 1000, out _); + //lastErr = Marshal.GetLastPInvokeError(); + //lastErrMsg = Marshal.GetLastPInvokeErrorMessage(); + //_logger.Debug("SendMessageTimeout(lParam=0) returned 0x{0:x8}", ret); + //_logger.Debug("ErrCode: 0x{0:x8}, ErrMsg: {1}", lastErr, lastErrMsg); // Spy++ output // ..... From 73de6526e95e32b422d4ed90b78a31950cf0565f Mon Sep 17 00:00:00 2001 From: ww-rm Date: Tue, 27 Jan 2026 20:49:09 +0800 Subject: [PATCH 3/4] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44467c5..000c187 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## v0.16.19 + +- 修复模型参数应用错误 +- 修复可能的壁纸嵌入失败 + ## v0.16.18 - 优化 PSD 文件大小 From e5d411e4ab9a9941214bba8ce127f036ded5b4ca Mon Sep 17 00:00:00 2001 From: ww-rm Date: Tue, 27 Jan 2026 20:49:15 +0800 Subject: [PATCH 4/4] update to v0.16.19 --- Spine/Spine.csproj | 2 +- SpineViewer/SpineViewer.csproj | 2 +- SpineViewerCLI/SpineViewerCLI.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Spine/Spine.csproj b/Spine/Spine.csproj index 287a665..ba5ccf7 100644 --- a/Spine/Spine.csproj +++ b/Spine/Spine.csproj @@ -11,7 +11,7 @@ $(SolutionDir)out $(BaseOutputPath)\$(Configuration)\$(PlatformTarget) false - 0.16.18 + 0.16.19 diff --git a/SpineViewer/SpineViewer.csproj b/SpineViewer/SpineViewer.csproj index 8f62c2d..362aefe 100644 --- a/SpineViewer/SpineViewer.csproj +++ b/SpineViewer/SpineViewer.csproj @@ -11,7 +11,7 @@ $(SolutionDir)out $(BaseOutputPath)\$(Configuration)\$(PlatformTarget) false - 0.16.18 + 0.16.19 WinExe true diff --git a/SpineViewerCLI/SpineViewerCLI.csproj b/SpineViewerCLI/SpineViewerCLI.csproj index 04ef253..65af9ee 100644 --- a/SpineViewerCLI/SpineViewerCLI.csproj +++ b/SpineViewerCLI/SpineViewerCLI.csproj @@ -11,7 +11,7 @@ $(SolutionDir)out $(BaseOutputPath)\$(Configuration)\$(PlatformTarget) false - 0.16.18 + 0.16.19 Exe