1
0
mirror of synced 2024-11-28 01:10:51 +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)
{
TextureName = Text;
Console.WriteLine($"Text {Text}");
//MipSizes stores mip sizes for multile arrays
int arrayCount = mipSizes.Count;

View File

@ -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");
}
}
}