still another missing conversion btw viewer and OS on groupd owned
parent
4c42716022
commit
fc46274732
|
@ -236,10 +236,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
IList<TaskInventoryItem> items = new List<TaskInventoryItem>(Items.Values);
|
IList<TaskInventoryItem> items = new List<TaskInventoryItem>(Items.Values);
|
||||||
foreach (TaskInventoryItem item in items)
|
foreach (TaskInventoryItem item in items)
|
||||||
{
|
{
|
||||||
if (groupID != item.GroupID)
|
item.GroupID = groupID;
|
||||||
{
|
|
||||||
item.GroupID = groupID;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
m_items.LockItemsForWrite(false);
|
m_items.LockItemsForWrite(false);
|
||||||
}
|
}
|
||||||
|
@ -1020,6 +1017,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (item.GroupPermissions != (uint)PermissionMask.None)
|
if (item.GroupPermissions != (uint)PermissionMask.None)
|
||||||
item.GroupID = m_part.GroupID;
|
item.GroupID = m_part.GroupID;
|
||||||
|
|
||||||
|
if(item.OwnerID == UUID.Zero) // viewer to internal enconding of group owned
|
||||||
|
item.OwnerID = item.GroupID;
|
||||||
|
|
||||||
if (item.AssetID == UUID.Zero)
|
if (item.AssetID == UUID.Zero)
|
||||||
item.AssetID = m_items[item.ItemID].AssetID;
|
item.AssetID = m_items[item.ItemID].AssetID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue