diff options
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/SculptMesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/SculptMesh.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs index 707c0e3..d4bd65f 100644 --- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs +++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs | |||
@@ -36,8 +36,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
36 | { | 36 | { |
37 | // This functionality based on the XNA SculptPreview by John Hurliman. | 37 | // This functionality based on the XNA SculptPreview by John Hurliman. |
38 | public class SculptMesh : Mesh | 38 | public class SculptMesh : Mesh |
39 | { | 39 | { |
40 | ManagedImage managedImage; | ||
41 | Image idata = null; | 40 | Image idata = null; |
42 | Bitmap bLOD = null; | 41 | Bitmap bLOD = null; |
43 | Bitmap bBitmap = null; | 42 | Bitmap bBitmap = null; |
@@ -55,6 +54,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
55 | 54 | ||
56 | try | 55 | try |
57 | { | 56 | { |
57 | ManagedImage managedImage; // we never use this | ||
58 | OpenJPEG.DecodeToImage(jpegData, out managedImage, out idata); | 58 | OpenJPEG.DecodeToImage(jpegData, out managedImage, out idata); |
59 | //int i = 0; | 59 | //int i = 0; |
60 | //i = i / i; | 60 | //i = i / i; |