aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index f35bd59..5b57e73 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -394,6 +394,22 @@ namespace OpenSim.Region.Environment.Scenes
394 item.ParentID = UUID; 394 item.ParentID = UUID;
395 item.ParentPartID = UUID; 395 item.ParentPartID = UUID;
396 item.Flags=m_taskInventory[item.ItemID].Flags; 396 item.Flags=m_taskInventory[item.ItemID].Flags;
397 if (item.AssetID == UUID.Zero)
398 {
399 item.AssetID = m_taskInventory[item.ItemID].AssetID;
400 }
401 else if ((InventoryType)item.Type == InventoryType.Notecard)
402 {
403 ScenePresence presence =
404 m_parentGroup.Scene.GetScenePresence(
405 item.OwnerID);
406
407 if (presence != null)
408 {
409 presence.ControllingClient.SendAgentAlertMessage(
410 "Notecard saved", false);
411 }
412 }
397 413
398 m_taskInventory[item.ItemID] = item; 414 m_taskInventory[item.ItemID] = item;
399 m_inventorySerial++; 415 m_inventorySerial++;