* Rex merge, environment/types
parent
f62f24bb70
commit
ed9a866906
|
@ -13,7 +13,7 @@
|
|||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS AS IS AND ANY
|
||||
* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
|
||||
|
@ -262,7 +262,7 @@ namespace OpenSim.Region.Environment.Types
|
|||
public string[] GetNeighbours(string nodeName)
|
||||
{
|
||||
string[] retVal = new string[1];
|
||||
retVal[0] = "";
|
||||
retVal[0] = System.String.Empty;
|
||||
return retVal;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS AS IS AND ANY
|
||||
* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
|
||||
|
@ -94,6 +94,17 @@ namespace OpenSim.Region.Environment.Types
|
|||
m_queue = new List<SceneObject>();
|
||||
m_ids = new Dictionary<LLUUID, LinkedListNode<SceneObjectPart>>();
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
lock (m_ids)
|
||||
{
|
||||
m_ids.Clear();
|
||||
}
|
||||
lock (m_queue)
|
||||
{
|
||||
m_queue.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasUpdates()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue