mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
Improve support for Tuanjie 1.10+
This commit is contained in:
@@ -46,7 +46,8 @@ namespace AssetStudioGUI
|
||||
debugLog += sb.ToString();
|
||||
}
|
||||
|
||||
if (type == ImageFormat.Png && m_Texture2D.m_TextureFormat.IsPng())
|
||||
if ((type == ImageFormat.Png && m_Texture2D.m_TextureFormat.IsPng())
|
||||
|| (type == ImageFormat.Webp && m_Texture2D.m_TextureFormat.IsWebP()))
|
||||
{
|
||||
File.WriteAllBytes(exportFullPath, m_Texture2D.image_data.GetData());
|
||||
debugLog += $"{item.TypeString} \"{item.Text}\" exported to \"{exportFullPath}\"";
|
||||
|
||||
Reference in New Issue
Block a user