return as object[]
parent
06495ab3e6
commit
1c19deb736
|
@ -385,9 +385,9 @@ namespace OpenSim.Modules.PathFinding
|
||||||
}
|
}
|
||||||
|
|
||||||
[ScriptInvocation]
|
[ScriptInvocation]
|
||||||
public LSL_List osGetSearchableObjectList(UUID hostID, UUID scriptID, String searchString)
|
public object[] osGetSearchableObjectList(UUID hostID, UUID scriptID, String searchString)
|
||||||
{
|
{
|
||||||
LSL_List returnList = new LSL_List();
|
List<object> returnList = new List<object>();
|
||||||
|
|
||||||
foreach (SceneObjectGroup thisGroup in m_scene.GetSceneObjectGroups())
|
foreach (SceneObjectGroup thisGroup in m_scene.GetSceneObjectGroups())
|
||||||
{
|
{
|
||||||
|
@ -395,7 +395,7 @@ namespace OpenSim.Modules.PathFinding
|
||||||
returnList.Add(thisGroup.GroupID);
|
returnList.Add(thisGroup.GroupID);
|
||||||
}
|
}
|
||||||
|
|
||||||
return returnList;
|
return returnList.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue