* 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 moment0.6.0-stable
parent
ecc2a0f866
commit
0dc1018ca1
|
@ -37,7 +37,6 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
// This functionality based on the XNA SculptPreview by John Hurliman.
|
// This functionality based on the XNA SculptPreview by John Hurliman.
|
||||||
public class SculptMesh : Mesh
|
public class SculptMesh : Mesh
|
||||||
{
|
{
|
||||||
ManagedImage managedImage;
|
|
||||||
Image idata = null;
|
Image idata = null;
|
||||||
Bitmap bLOD = null;
|
Bitmap bLOD = null;
|
||||||
Bitmap bBitmap = null;
|
Bitmap bBitmap = null;
|
||||||
|
@ -55,6 +54,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
ManagedImage managedImage; // we never use this
|
||||||
OpenJPEG.DecodeToImage(jpegData, out managedImage, out idata);
|
OpenJPEG.DecodeToImage(jpegData, out managedImage, out idata);
|
||||||
//int i = 0;
|
//int i = 0;
|
||||||
//i = i / i;
|
//i = i / i;
|
||||||
|
|
|
@ -719,6 +719,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
//advance the counter to the letter 'e'
|
//advance the counter to the letter 'e'
|
||||||
i = i+4;
|
i = i+4;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// ok here we're catching all numeric types int,double,long we might want to spit these up mr accurately
|
// ok here we're catching all numeric types int,double,long we might want to spit these up mr accurately
|
||||||
// but for now we'll just do them as strings
|
// but for now we'll just do them as strings
|
||||||
|
@ -746,33 +747,16 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
currentKey=null;
|
currentKey=null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception)
|
||||||
{
|
{
|
||||||
LSLError("osParseJSON: The JSON string is not valid " + JSON);
|
LSLError("osParseJSON: The JSON string is not valid " + JSON);
|
||||||
}
|
}
|
||||||
|
|
||||||
return jsondata;
|
return jsondata;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue