修复添加顺序错误

This commit is contained in:
ww-rm
2025-10-01 18:45:03 +08:00
parent 30dee9978c
commit 681b1be360

View File

@@ -503,7 +503,7 @@ namespace SpineViewer.ViewModels.MainWindow
{
if (ct.IsCancellationRequested) break;
var skelPath = paths[totalCount - 1 - i]; // 从后往前添加, 每次插入到列表的第一个
var skelPath = paths[i];
reporter.ProgressText = $"[{i}/{totalCount}] {skelPath}";
if (AddSpineObject(skelPath))
@@ -620,7 +620,7 @@ namespace SpineViewer.ViewModels.MainWindow
{
if (ct.IsCancellationRequested) break;
var cfg = models[totalCount - 1 - i]; // 从后往前添加, 每次插入到列表的第一个
var cfg = models[i];
reporter.ProgressText = $"[{i}/{totalCount}] {cfg}";
if (AddSpineObject(cfg))