diff options
author | Melanie Thielker | 2008-09-26 18:16:13 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-26 18:16:13 +0000 |
commit | 4a69791875bcdb58554685a2ecdcaff2096883f2 (patch) | |
tree | 1f00377db7a3b35a16ca79fb75a67c965e3a1fe5 | |
parent | Finishing the code cleanup in DNE, make llDie work again in DNE. (diff) | |
download | opensim-SC-4a69791875bcdb58554685a2ecdcaff2096883f2.zip opensim-SC-4a69791875bcdb58554685a2ecdcaff2096883f2.tar.gz opensim-SC-4a69791875bcdb58554685a2ecdcaff2096883f2.tar.bz2 opensim-SC-4a69791875bcdb58554685a2ecdcaff2096883f2.tar.xz |
Add "Notecard saved" message to saves of notecards into prims
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 16 |
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++; |