mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure.
This commit is contained in:
@@ -69,8 +69,8 @@ namespace PrimMesher
|
||||
|
||||
Bitmap scaledImage = new Bitmap(destWidth, destHeight,
|
||||
PixelFormat.Format24bppRgb);
|
||||
scaledImage.SetResolution(srcImage.HorizontalResolution,
|
||||
srcImage.VerticalResolution);
|
||||
|
||||
scaledImage.SetResolution(96.0f, 96.0f);
|
||||
|
||||
Graphics grPhoto = Graphics.FromImage(scaledImage);
|
||||
grPhoto.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Bilinear;
|
||||
|
||||
Reference in New Issue
Block a user