diff options
author | Justin Clarke Casey | 2008-09-12 21:20:24 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-12 21:20:24 +0000 |
commit | 0dc1018ca162325cf0ec8fa04167e3a99adedd61 (patch) | |
tree | ea5a747c8338895f25c0cc376bb8b27292370143 /OpenSim/Region/Physics | |
parent | add first round of folder tests (diff) | |
download | opensim-SC-0dc1018ca162325cf0ec8fa04167e3a99adedd61.zip opensim-SC-0dc1018ca162325cf0ec8fa04167e3a99adedd61.tar.gz opensim-SC-0dc1018ca162325cf0ec8fa04167e3a99adedd61.tar.bz2 opensim-SC-0dc1018ca162325cf0ec8fa04167e3a99adedd61.tar.xz |
* minor: Remove warnings
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
Diffstat (limited to 'OpenSim/Region/Physics')
-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; |