aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authoridb2009-01-29 19:47:55 +0000
committeridb2009-01-29 19:47:55 +0000
commitea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491 (patch)
tree12ac0afdb13186306d0c3389c0fb04adcadc4bd0 /OpenSim/Region/ScriptEngine/Shared
parent* minor: just a few formatting changes and log quietening (diff)
downloadopensim-SC-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.zip
opensim-SC-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.gz
opensim-SC-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.bz2
opensim-SC-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.xz
Complete the implementation of llSHA1String.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 10a3133..36b524a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5890,8 +5890,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5890 public LSL_String llSHA1String(string src) 5890 public LSL_String llSHA1String(string src)
5891 { 5891 {
5892 m_host.AddScriptLPS(1); 5892 m_host.AddScriptLPS(1);
5893 return ""; //ckrinke 1/27 This needs to return a proper hash. 5893 return Util.SHA1Hash(src).ToLower();
5894 } 5894 }
5895
5895 private ObjectShapePacket.ObjectDataBlock SetPrimitiveBlockShapeParams(SceneObjectPart part, int holeshape, LSL_Vector cut, float hollow, LSL_Vector twist) 5896 private ObjectShapePacket.ObjectDataBlock SetPrimitiveBlockShapeParams(SceneObjectPart part, int holeshape, LSL_Vector cut, float hollow, LSL_Vector twist)
5896 { 5897 {
5897 ObjectShapePacket.ObjectDataBlock shapeBlock = new ObjectShapePacket.ObjectDataBlock(); 5898 ObjectShapePacket.ObjectDataBlock shapeBlock = new ObjectShapePacket.ObjectDataBlock();