aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index c1522bc..93073c1 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -991,6 +991,19 @@ namespace OpenSim.Region.Environment.Scenes
991 } 991 }
992 992
993 #endregion 993 #endregion
994
995 /// <summary>
996 /// Reset LLUUIDs for this part. This involves generate this part's own LLUUID and
997 /// generating new LLUUIDs for all the items in the inventory.
998 /// </summary>
999 /// <param name="linkNum'>Link number for the part</param>
1000 public void ResetIDs(int linkNum)
1001 {
1002 UUID = LLUUID.Random();
1003 LinkNum = linkNum;
1004
1005 ResetInventoryIDs();
1006 }
994 1007
995 #region Update Scheduling 1008 #region Update Scheduling
996 1009