diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index c0297cf..a700974 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -216,11 +216,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
216 | } | 216 | } |
217 | 217 | ||
218 | /// <summary> | 218 | /// <summary> |
219 | /// Add a whole collection of items to the prim's inventory at once. We assume that the items already | 219 | /// Restore a whole collection of items to the prim's inventory at once. |
220 | /// have all their fields correctly filled out. | 220 | /// We assume that the items already have all their fields correctly filled out. |
221 | /// The items are not flagged for persistence to the database, since they are being restored | ||
222 | /// from persistence rather than being newly added. | ||
221 | /// </summary> | 223 | /// </summary> |
222 | /// <param name="items"></param> | 224 | /// <param name="items"></param> |
223 | public void AddInventoryItems(ICollection<TaskInventoryItem> items) | 225 | public void RestoreInventoryItems(ICollection<TaskInventoryItem> items) |
224 | { | 226 | { |
225 | lock (m_taskInventory) | 227 | lock (m_taskInventory) |
226 | { | 228 | { |