Merge branch 'master' into careminster-presence-refactor
commit
5b2aa02fd9
|
@ -696,6 +696,9 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
|
|
||||||
private void HandleLandStatRequest(int parcelID, uint reportType, uint requestFlags, string filter, IClientAPI remoteClient)
|
private void HandleLandStatRequest(int parcelID, uint reportType, uint requestFlags, string filter, IClientAPI remoteClient)
|
||||||
{
|
{
|
||||||
|
if (!m_scene.Permissions.CanIssueEstateCommand(remoteClient.AgentId, false))
|
||||||
|
return;
|
||||||
|
|
||||||
Dictionary<uint, float> SceneData = new Dictionary<uint,float>();
|
Dictionary<uint, float> SceneData = new Dictionary<uint,float>();
|
||||||
List<UUID> uuidNameLookupList = new List<UUID>();
|
List<UUID> uuidNameLookupList = new List<UUID>();
|
||||||
|
|
||||||
|
|
|
@ -979,8 +979,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (m_part.ParentGroup.Scene.Permissions.CanEditObjectInventory(m_part.UUID, client.AgentId))
|
if (m_part.ParentGroup.Scene.Permissions.CanEditObjectInventory(m_part.UUID, client.AgentId))
|
||||||
includeAssets = true;
|
includeAssets = true;
|
||||||
|
|
||||||
m_items.LockItemsForRead(true);
|
lock (m_items)
|
||||||
|
{
|
||||||
foreach (TaskInventoryItem item in m_items.Values)
|
foreach (TaskInventoryItem item in m_items.Values)
|
||||||
{
|
{
|
||||||
UUID ownerID = item.OwnerID;
|
UUID ownerID = item.OwnerID;
|
||||||
|
@ -1028,6 +1028,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
invString.AddNameValueLine("creation_date", item.CreationDate.ToString());
|
invString.AddNameValueLine("creation_date", item.CreationDate.ToString());
|
||||||
invString.AddSectionEnd();
|
invString.AddSectionEnd();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
int count = m_items.Count;
|
int count = m_items.Count;
|
||||||
m_items.LockItemsForRead(false);
|
m_items.LockItemsForRead(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue