From be2ad79e52efb5eb543057e8e73fa601d0b91c87 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 20 Dec 2007 05:43:02 +0000 Subject: Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 --- .../Compiler/Server_API/LSL_BuiltIn_Commands.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine') diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 64921d7..8f58b55 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs @@ -820,7 +820,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler public string llGetOwner() { - return m_host.ObjectOwner.ToStringHyphenated(); + return m_host.ObjectOwner.ToString(); } public void llInstantMessage(string user, string message) @@ -840,7 +840,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler public string llGetKey() { - return m_host.UUID.ToStringHyphenated(); + return m_host.UUID.ToString(); } public void llSetBuoyancy(double buoyancy) @@ -1234,7 +1234,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler public string llList2Key(List src, int index) { - //return OpenSim.Framework.ToStringHyphenated(src[index]); + //return OpenSim.Framework.ToString(src[index]); return src[index].ToString(); } @@ -1923,7 +1923,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler public string llGetCreator() { - return m_host.ObjectCreator.ToStringHyphenated(); + return m_host.ObjectCreator.ToString(); } public string llGetTimestamp() @@ -2265,14 +2265,14 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler LLUUID createdTexture = textureManager.AddDynamicTextureURL(World.RegionInfo.RegionID, m_host.UUID, contentType, url, extraParams, timer); - return createdTexture.ToStringHyphenated(); + return createdTexture.ToString(); } else { //TODO update existing dynamic textures } - return LLUUID.Zero.ToStringHyphenated(); + return LLUUID.Zero.ToString(); } private void NotImplemented(string Command) @@ -2281,4 +2281,4 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler throw new NotImplementedException("Command not implemented: " + Command); } } -} \ No newline at end of file +} -- cgit v1.1