mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-09 18:43:26 +00:00
Fix errors
This commit is contained in:
parent
3d18d542a9
commit
07bd21b174
2 changed files with 2 additions and 1 deletions
File_Format_Library/FileFormats/Texture
Switch_Toolbox_Library/Forms/Editors/ImageEditor
|
@ -486,6 +486,7 @@ namespace FirstPlugin
|
|||
public void Write(FileWriter writer)
|
||||
{
|
||||
TextureName = Text;
|
||||
Console.WriteLine($"Text {Text}");
|
||||
|
||||
//MipSizes stores mip sizes for multile arrays
|
||||
int arrayCount = mipSizes.Count;
|
||||
|
|
|
@ -215,7 +215,7 @@ namespace Toolbox.Library.Forms
|
|||
}
|
||||
|
||||
Bitmap newImage = BitmapExtension.ReplaceChannel(Image, ImportedImage, ChannelType);
|
||||
imageEditor.SaveAndApplyImage(newImage, true);
|
||||
imageEditor.SaveAndApplyImage(newImage, true, ext == ".dds");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue