From f1b99c4a7f9543c3a2aa36de2e659bdefca9e68b Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 4 Feb 2010 21:35:56 +0000
Subject: minor: one method doc
---
.../CoreModules/Scripting/VectorRender/VectorRenderModule.cs | 1 +
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 +++++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
index d57a8e5..3291be4 100644
--- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs
@@ -342,6 +342,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
m_log.Error(
"[VECTORRENDERMODULE]: OpenJpeg Encode Failed. Empty byte data returned!");
}
+
m_textureManager.ReturnData(id, imageJ2000);
}
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 8d84557..dd797fc 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4144,9 +4144,13 @@ namespace OpenSim.Region.Framework.Scenes
ScheduleFullUpdate();
}
- // Added to handle bug in libsecondlife's TextureEntry.ToBytes()
- // not handling RGBA properly. Cycles through, and "fixes" the color
- // info
+ ///
+ /// Update the textures on the part.
+ ///
+ /// Added to handle bug in libsecondlife's TextureEntry.ToBytes()
+ /// not handling RGBA properly. Cycles through, and "fixes" the color
+ /// info
+ ///
public void UpdateTexture(Primitive.TextureEntry tex)
{
//Color4 tmpcolor;
--
cgit v1.1