完善逻辑
This commit is contained in:
@@ -54,6 +54,10 @@ namespace SpineViewer.Dialogs
|
|||||||
MessageBox.Show($"{skelPath}", "skel文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show($"{skelPath}", "skel文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
skelPath = Path.GetFullPath(skelPath);
|
||||||
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(atlasPath))
|
if (string.IsNullOrEmpty(atlasPath))
|
||||||
{
|
{
|
||||||
@@ -64,6 +68,10 @@ namespace SpineViewer.Dialogs
|
|||||||
MessageBox.Show($"{atlasPath}", "atlas文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show($"{atlasPath}", "atlas文件不存在", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
atlasPath = Path.GetFullPath(atlasPath);
|
||||||
|
}
|
||||||
|
|
||||||
SkelPath = skelPath;
|
SkelPath = skelPath;
|
||||||
AtlasPath = atlasPath;
|
AtlasPath = atlasPath;
|
||||||
|
|||||||
Reference in New Issue
Block a user