mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
minor fixes
This commit is contained in:
parent
19534ebb4d
commit
58d5a3fc37
@ -8,7 +8,6 @@ using System.IO;
|
||||
using System.Threading;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing.Text;
|
||||
using OpenTK;
|
||||
@ -1073,7 +1072,7 @@ namespace AssetStudioGUI
|
||||
var bitmap = SpriteHelper.GetImageFromSprite(m_Sprite);
|
||||
if (bitmap != null)
|
||||
{
|
||||
assetItem.InfoText = $"Width: {imageTexture.Width}\nHeight: {imageTexture.Height}\n";
|
||||
assetItem.InfoText = $"Width: {bitmap.Width}\nHeight: {bitmap.Height}\n";
|
||||
|
||||
PreviewTexture(bitmap);
|
||||
}
|
||||
|
@ -483,7 +483,10 @@ namespace AssetStudioGUI
|
||||
CollectNode(j, gameObjects);
|
||||
//跳过一些不需要导出的object
|
||||
if (gameObjects.All(x => x.m_SkinnedMeshRenderer == null && x.m_MeshFilter == null))
|
||||
{
|
||||
Progress.Report(++k, count);
|
||||
continue;
|
||||
}
|
||||
//处理非法文件名
|
||||
var filename = FixFileName(j.Text);
|
||||
//每个文件存放在单独的文件夹
|
||||
|
Loading…
Reference in New Issue
Block a user