Improved placement of generated mipmaps

This commit is contained in:
MattNL
2022-09-25 17:20:28 -04:00
parent ab4e9be1bc
commit 851f2f6015

View File

@@ -2922,7 +2922,7 @@ namespace PckStudio
mippedTexture.Save(texStream, ImageFormat.Png);
MipMappedFile.SetData(texStream.ToArray());
currentPCK.Files.Add(MipMappedFile);
currentPCK.Files.Insert(currentPCK.Files.IndexOf(file) + i - 1, MipMappedFile);
}
BuildMainTreeView();
}