From 726b7dce61a0279f8c47fcf882ad1ee1987e5d43 Mon Sep 17 00:00:00 2001 From: Talun Date: Tue, 10 Sep 2013 10:56:34 +0100 Subject: [PATCH] 6762: llList2Key fails to convert a string in a list to a key llGetPrimitiveParams changed to return the sculpty key as an LSL_String so that type checking in llList2Key will work --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 34e2b4d9f4..924f4d9456 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -8483,7 +8483,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api break; case ScriptBaseClass.PRIM_TYPE_SCULPT: - res.Add(Shape.SculptTexture.ToString()); + res.Add(new LSL_String(Shape.SculptTexture.ToString())); res.Add(new LSL_Integer(Shape.SculptType)); break;