Ability to preview/export non-exportable assets when possible.

This commit is contained in:
Razmoth
2022-10-08 20:33:38 +04:00
parent 04b444d5f1
commit e7fd546f28
5 changed files with 67 additions and 121 deletions

View File

@@ -459,12 +459,19 @@ namespace AssetStudioGUI
Progress.Report(++i, objectCount);
}
}
StatusStripUpdate("Building container list...");
i = 0;
Progress.Reset();
var containersCount = containers.Count;
foreach ((var pptr, var container) in containers)
{
if (pptr.TryGet(out var obj))
{
objectAssetItemDic[obj].Container = container;
}
Progress.Report(++i, containersCount);
}
foreach (var tmp in exportableAssets)
{