diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 5c4a2a3..40112c9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -514,7 +514,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
514 | 514 | ||
515 | // This is necessary so that TaskInventoryItem parent ids correctly reference the new uuid of this part | 515 | // This is necessary so that TaskInventoryItem parent ids correctly reference the new uuid of this part |
516 | if (Inventory != null) | 516 | if (Inventory != null) |
517 | Inventory.ResetInventoryIDs(); | 517 | Inventory.ResetObjectID(); |
518 | } | 518 | } |
519 | } | 519 | } |
520 | 520 | ||
@@ -2800,6 +2800,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2800 | UUID = UUID.Random(); | 2800 | UUID = UUID.Random(); |
2801 | LinkNum = linkNum; | 2801 | LinkNum = linkNum; |
2802 | LocalId = 0; | 2802 | LocalId = 0; |
2803 | Inventory.ResetInventoryIDs(); | ||
2803 | } | 2804 | } |
2804 | 2805 | ||
2805 | /// <summary> | 2806 | /// <summary> |