If a scene object part UUID is changed (only possible when not in a scene), then adjust the inventory items to point to the new uuid as well

This commit is contained in:
Justin Clark-Casey (justincc)
2010-09-07 03:41:29 +01:00
parent 84ad9e4d4e
commit f7b28dd321
4 changed files with 17 additions and 8 deletions

View File

@@ -119,6 +119,9 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="linkNum">Link number for the part</param>
public void ResetInventoryIDs()
{
if (null == m_part || null == m_part.ParentGroup)
return;
lock (m_items)
{
if (0 == m_items.Count)