Fix a prim inventoy issue
parent
2e7b27db1f
commit
87e17d3f61
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue