Fix a prim inventoy issue

0.6.9-post-fixes
Melanie 2010-09-27 03:47:45 +01:00
parent 2e7b27db1f
commit 87e17d3f61
1 changed files with 4 additions and 1 deletions

View File

@ -859,6 +859,9 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroup group = part.ParentGroup;
if (group != null)
{
if (!Permissions.CanEditObjectInventory(part.UUID, remoteClient.AgentId))
return;
TaskInventoryItem item = group.GetInventoryItem(localID, itemID);
if (item == null)
return;
@ -2653,4 +2656,4 @@ namespace OpenSim.Region.Framework.Scenes
m_sceneGraph.LinkObjects(root, children);
}
}
}
}