mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-27 22:00:23 -04:00
Fixed #257
This commit is contained in:
parent
10f02af70b
commit
a7c5330042
@ -287,7 +287,7 @@ namespace AssetStudio
|
|||||||
glControl1.Invalidate();
|
glControl1.Invalidate();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Keys.N:
|
case Keys.N:
|
||||||
if (e.Control) //Normal mode
|
if (e.Control) //Normal mode
|
||||||
{
|
{
|
||||||
normalMode = (normalMode + 1) % 2;
|
normalMode = (normalMode + 1) % 2;
|
||||||
@ -1826,7 +1826,8 @@ namespace AssetStudio
|
|||||||
if (saveFolderDialog1.ShowDialog(this) == DialogResult.OK)
|
if (saveFolderDialog1.ShowDialog(this) == DialogResult.OK)
|
||||||
{
|
{
|
||||||
var exportPath = saveFolderDialog1.Folder + "\\GameObject\\";
|
var exportPath = saveFolderDialog1.Folder + "\\GameObject\\";
|
||||||
ExportObjectsWithAnimationClip(exportPath, sceneTreeView.Nodes, GetSelectedAssets());
|
var animationList = GetSelectedAssets().Where(x => x.Type == ClassIDReference.AnimationClip).ToList();
|
||||||
|
ExportObjectsWithAnimationClip(exportPath, sceneTreeView.Nodes, animationList.Count == 0 ? null : animationList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user