diff options
author | idb | 2009-01-29 19:47:55 +0000 |
---|---|---|
committer | idb | 2009-01-29 19:47:55 +0000 |
commit | ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491 (patch) | |
tree | 12ac0afdb13186306d0c3389c0fb04adcadc4bd0 /OpenSim/Region/ScriptEngine | |
parent | * minor: just a few formatting changes and log quietening (diff) | |
download | opensim-SC_OLD-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.zip opensim-SC_OLD-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.gz opensim-SC_OLD-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.bz2 opensim-SC_OLD-ea6e4a95ce5e0fc8c5e3d049b43b9cc0ada65491.tar.xz |
Complete the implementation of llSHA1String.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
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(); |