Fix image editor not updating on some edits

This commit is contained in:
KillzXGaming 2019-05-08 15:46:26 -04:00
parent 9b0690ea06
commit ddf70f700a

View file

@ -686,7 +686,7 @@ namespace Switch_Toolbox.Library.Forms
ArrayLevel = CurArrayDisplayLevel
};
pictureBoxCustom1.Image = image;
pictureBoxCustom1.Image = new Bitmap(image);
TotalMipCount = ActiveTexture.MipCount - 1;
TotalArrayCount = ActiveTexture.ArrayCount - 1;