Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wmltogether committed Dec 25, 2016
1 parent e84ef4e commit 22c166b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnityTexTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private static void Texture2PNG(string input_name, string output_name, string re
settings.Height = texture.height;

ImageMagick.MagickImage im = new MagickImage(texture.GetPixels(), settings);
im.Flip();
im.Flip();//unity纹理是颠倒放置,要flip
im.ToBitmap().Save(output_name);
}
}
Expand Down

0 comments on commit 22c166b

Please sign in to comment.