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
varregion
Talun 2013-09-10 10:56:34 +01:00 committed by Justin Clark-Casey (justincc)
parent 2d7adcb22f
commit 07d6a0385f
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;