Removing the apparently superfluous explicit namespace reference so that the if-else-if-else block in ConvertFromLSL can have a consistent appearance
parent
01972cc9e8
commit
ecdb88679e
|
@ -366,15 +366,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
else if (plist[i] is LSL_Key)
|
else if (plist[i] is LSL_Key)
|
||||||
result[i] = new UUID((LSL_Key)plist[i]);
|
result[i] = new UUID((LSL_Key)plist[i]);
|
||||||
else if (plist[i] is LSL_Rotation)
|
else if (plist[i] is LSL_Rotation)
|
||||||
{
|
result[i] = (Quaternion)((LSL_Rotation)plist[i]);
|
||||||
result[i] = (OpenMetaverse.Quaternion)(
|
|
||||||
(LSL_Rotation)plist[i]);
|
|
||||||
}
|
|
||||||
else if (plist[i] is LSL_Vector)
|
else if (plist[i] is LSL_Vector)
|
||||||
{
|
result[i] = (Vector3)((LSL_Vector)plist[i]);
|
||||||
result[i] = (OpenMetaverse.Vector3)(
|
|
||||||
(LSL_Vector)plist[i]);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
MODError(String.Format("{0}: unknown LSL list element type", fname));
|
MODError(String.Format("{0}: unknown LSL list element type", fname));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue