- [Core] fix bug with export part for Materials.

This commit is contained in:
Razmoth
2024-01-30 20:53:12 +04:00
parent 92d7470082
commit 87e87cf0ab
3 changed files with 11 additions and 6 deletions

View File

@@ -1698,6 +1698,11 @@ namespace AssetStudio.GUI
saveDirectoryBackup = saveFolderDialog.Folder;
var exportPath = Path.Combine(saveFolderDialog.Folder, "GameObject") + Path.DirectorySeparatorChar;
var roots = sceneTreeView.Nodes.Cast<TreeNode>().Where(x => x.Level == 0 && x.Checked).ToList();
if (roots.Count == 0)
{
Logger.Info("No root nodes found selected.");
return;
}
List<AssetItem> animationList = null;
if (animation)
{