aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/SculptMesh.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/SculptMesh.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
index 0e39d73..b458ed4 100644
--- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs
+++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
@@ -69,8 +69,8 @@ namespace PrimMesher
69 69
70 Bitmap scaledImage = new Bitmap(destWidth, destHeight, 70 Bitmap scaledImage = new Bitmap(destWidth, destHeight,
71 PixelFormat.Format24bppRgb); 71 PixelFormat.Format24bppRgb);
72 scaledImage.SetResolution(srcImage.HorizontalResolution, 72
73 srcImage.VerticalResolution); 73 scaledImage.SetResolution(96.0f, 96.0f);
74 74
75 Graphics grPhoto = Graphics.FromImage(scaledImage); 75 Graphics grPhoto = Graphics.FromImage(scaledImage);
76 grPhoto.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Bilinear; 76 grPhoto.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Bilinear;