1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Fix errors

This commit is contained in:
KillzXGaming 2020-07-11 15:21:37 -04:00
parent 3d18d542a9
commit 07bd21b174
2 changed files with 2 additions and 1 deletions

View File

@ -486,6 +486,7 @@ namespace FirstPlugin
public void Write(FileWriter writer) public void Write(FileWriter writer)
{ {
TextureName = Text; TextureName = Text;
Console.WriteLine($"Text {Text}");
//MipSizes stores mip sizes for multile arrays //MipSizes stores mip sizes for multile arrays
int arrayCount = mipSizes.Count; int arrayCount = mipSizes.Count;

View File

@ -215,7 +215,7 @@ namespace Toolbox.Library.Forms
} }
Bitmap newImage = BitmapExtension.ReplaceChannel(Image, ImportedImage, ChannelType); Bitmap newImage = BitmapExtension.ReplaceChannel(Image, ImportedImage, ChannelType);
imageEditor.SaveAndApplyImage(newImage, true); imageEditor.SaveAndApplyImage(newImage, true, ext == ".dds");
} }
} }
} }