And one more fix for generating
This commit is contained in:
parent
9aed684e16
commit
008a6de6c1
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -596,8 +596,10 @@ namespace Switch_Toolbox.Library.Forms
|
||||
HasBeenEdited = false;
|
||||
}
|
||||
|
||||
if (ActiveTexture.EditedImages != null) {
|
||||
ActiveTexture.EditedImages[CurArrayDisplayLevel].bitmap.Dispose();
|
||||
ActiveTexture.EditedImages[CurArrayDisplayLevel] = null;
|
||||
}
|
||||
|
||||
progressBar.Value = 100;
|
||||
}
|
||||
@ -901,6 +903,7 @@ namespace Switch_Toolbox.Library.Forms
|
||||
Image Image = pictureBoxCustom1.Image;
|
||||
if (Image != null)
|
||||
{
|
||||
HasBeenEdited = true;
|
||||
//Applying edits will generate mip maps
|
||||
ApplyEdit();
|
||||
UpdateEdit(Image);
|
||||
|
Loading…
x
Reference in New Issue
Block a user