mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Massive tab and trailing space cleanup
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
private IAssetService m_assetService;
|
||||
|
||||
public const string DefaultFormat = "x-j2c";
|
||||
|
||||
|
||||
public GetTextureHandler(IAssetService assService)
|
||||
{
|
||||
m_assetService = assService;
|
||||
@@ -83,7 +83,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
if (!String.IsNullOrEmpty(textureStr) && UUID.TryParse(textureStr, out textureID))
|
||||
{
|
||||
// m_log.DebugFormat("[GETTEXTURE]: Received request for texture id {0}", textureID);
|
||||
|
||||
|
||||
string[] formats;
|
||||
if (!string.IsNullOrEmpty(format))
|
||||
{
|
||||
@@ -129,7 +129,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="httpRequest"></param>
|
||||
/// <param name="httpResponse"></param>
|
||||
@@ -190,7 +190,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
|
||||
//response = new Hashtable();
|
||||
|
||||
|
||||
|
||||
//WriteTextureData(request,response,null,format);
|
||||
// not found
|
||||
//m_log.Warn("[GETTEXTURE]: Texture " + textureID + " not found");
|
||||
@@ -287,7 +287,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
response["content_type"] = texture.Metadata.ContentType;
|
||||
else
|
||||
response["content_type"] = "image/" + format;
|
||||
|
||||
|
||||
response["bin_response_data"] = texture.Data;
|
||||
response["int_bytes"] = texture.Data.Length;
|
||||
|
||||
@@ -400,7 +400,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
|
||||
if (image != null)
|
||||
image.Dispose();
|
||||
|
||||
|
||||
if(managedImage != null)
|
||||
managedImage.Clear();
|
||||
if (imgstream != null)
|
||||
|
||||
Reference in New Issue
Block a user