Skip to content

Commit

Permalink
Copy over texture name when renaming inside ytd
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinslane committed Feb 10, 2024
1 parent aebee2f commit 84eba9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TextureMagic/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ private async Task ProcessYtd(FileEntry entry)
var dds = DDSIO.GetDDSFile(texture);
var image = ProcessImage(new MagickImage(dds), Path.GetFileName(entry.Path));
var editedTexture = DDSIO.GetTexture(image.ToByteArray());
editedTexture.Name = texture.Name;
editedTextures.Add(editedTexture);
}

Expand Down

0 comments on commit 84eba9a

Please sign in to comment.