aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-19 21:25:59 +0100
committerJustin Clark-Casey (justincc)2010-04-19 21:25:59 +0100
commit524a2a9e26794e2ed645d51c089be42633a782df (patch)
tree751eed37530a91a881e14b4a035d5760c2e65503 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentIf a transfer request is received for a task inventory item asset, then route... (diff)
downloadopensim-SC_OLD-524a2a9e26794e2ed645d51c089be42633a782df.zip
opensim-SC_OLD-524a2a9e26794e2ed645d51c089be42633a782df.tar.gz
opensim-SC_OLD-524a2a9e26794e2ed645d51c089be42633a782df.tar.bz2
opensim-SC_OLD-524a2a9e26794e2ed645d51c089be42633a782df.tar.xz
Make the "notecard saved" text appear in the saver rather than the notecard owner, if the notecard is saved by a permitted group member
This means moving the alert up to a place where the IClientAPI is available. One can also argue that such client messages shouldn't be sent directly from the scene data model
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 2e13f90..4b9a2ad 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -630,16 +630,6 @@ namespace OpenSim.Region.Framework.Scenes
630 { 630 {
631 item.AssetID = m_items[item.ItemID].AssetID; 631 item.AssetID = m_items[item.ItemID].AssetID;
632 } 632 }
633 else if ((InventoryType)item.Type == InventoryType.Notecard)
634 {
635 ScenePresence presence = m_part.ParentGroup.Scene.GetScenePresence(item.OwnerID);
636
637 if (presence != null)
638 {
639 presence.ControllingClient.SendAgentAlertMessage(
640 "Notecard saved", false);
641 }
642 }
643 633
644 m_items[item.ItemID] = item; 634 m_items[item.ItemID] = item;
645 m_inventorySerial++; 635 m_inventorySerial++;