mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Resolve merge commits, stage 1
This commit is contained in:
@@ -118,14 +118,17 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reset UUIDs for all the items in the prim's inventory. This involves either generating
|
||||
/// Reset UUIDs for all the items in the prim's inventory.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This involves either generating
|
||||
/// new ones or setting existing UUIDs to the correct parent UUIDs.
|
||||
///
|
||||
/// If this method is called and there are inventory items, then we regard the inventory as having changed.
|
||||
/// </summary>
|
||||
/// <param name="linkNum">Link number for the part</param>
|
||||
/// </remarks>
|
||||
public void ResetInventoryIDs()
|
||||
{
|
||||
if (null == m_part)
|
||||
m_items.LockItemsForWrite(true);
|
||||
|
||||
if (Items.Count == 0)
|
||||
@@ -212,7 +215,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// Don't let this set the HasGroupChanged flag for attachments
|
||||
// as this happens during rez and we don't want a new asset
|
||||
// for each attachment each time
|
||||
if (!m_part.ParentGroup.RootPart.IsAttachment)
|
||||
if (!m_part.ParentGroup.IsAttachment)
|
||||
{
|
||||
HasInventoryChanged = true;
|
||||
m_part.ParentGroup.HasGroupChanged = true;
|
||||
|
||||
Reference in New Issue
Block a user