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
0.7.6-extended
Talun 2013-09-10 10:56:34 +01:00 committed by Justin Clark-Casey (justincc)
parent d260e398f5
commit 726b7dce61
1 changed files with 1 additions and 1 deletions

View File

@ -8483,7 +8483,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
break; break;
case ScriptBaseClass.PRIM_TYPE_SCULPT: 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)); res.Add(new LSL_Integer(Shape.SculptType));
break; break;