完善逻辑

This commit is contained in:
ww-rm
2025-03-03 21:40:46 +08:00
parent 7a2575d8eb
commit ec6ccdbd91

View File

@@ -54,6 +54,10 @@ namespace SpineViewer.Dialogs
MessageBox.Show($"{skelPath}", "skel文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
else
{
skelPath = Path.GetFullPath(skelPath);
}
if (string.IsNullOrEmpty(atlasPath))
{
@@ -64,6 +68,10 @@ namespace SpineViewer.Dialogs
MessageBox.Show($"{atlasPath}", "atlas文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
}
else
{
atlasPath = Path.GetFullPath(atlasPath);
}
SkelPath = skelPath;
AtlasPath = atlasPath;