diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs b/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs index b3d9cb6..01d11f4 100644 --- a/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs +++ b/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/SculptMap.cs | |||
@@ -163,11 +163,11 @@ namespace PrimMesher | |||
163 | { | 163 | { |
164 | 164 | ||
165 | Bitmap scaledImage = new Bitmap(destWidth, destHeight, PixelFormat.Format24bppRgb); | 165 | Bitmap scaledImage = new Bitmap(destWidth, destHeight, PixelFormat.Format24bppRgb); |
166 | 166 | ||
167 | Color c; | 167 | Color c; |
168 | float xscale = srcImage.Width / destWidth; | 168 | float xscale = srcImage.Width / destWidth; |
169 | float yscale = srcImage.Height / destHeight; | 169 | float yscale = srcImage.Height / destHeight; |
170 | 170 | ||
171 | float sy = 0.5f; | 171 | float sy = 0.5f; |
172 | for (int y = 0; y < destHeight; y++) | 172 | for (int y = 0; y < destHeight; y++) |
173 | { | 173 | { |
@@ -191,7 +191,7 @@ namespace PrimMesher | |||
191 | return scaledImage; | 191 | return scaledImage; |
192 | } | 192 | } |
193 | 193 | ||
194 | } | 194 | } |
195 | 195 | ||
196 | } | 196 | } |
197 | #endif | 197 | #endif |