Removing the apparently superfluous explicit namespace reference so that the if-else-if-else block in ConvertFromLSL can have a consistent appearance

integration
SignpostMarv 2012-10-23 11:39:55 +01:00 committed by Justin Clark-Casey (justincc)
parent 01972cc9e8
commit ecdb88679e
1 changed files with 2 additions and 8 deletions

View File

@ -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));
} }