aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/AssetTransaction
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/CoreModules/Agent/AssetTransaction
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 'OpenSim/Region/CoreModules/Agent/AssetTransaction')
-rw-r--r--OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
index 012d581..d30e954 100644
--- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
+++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs
@@ -181,7 +181,10 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
181 Manager.MyScene.AssetService.Store(asset); 181 Manager.MyScene.AssetService.Store(asset);
182 182
183 if (part.Inventory.UpdateInventoryItem(item)) 183 if (part.Inventory.UpdateInventoryItem(item))
184 {
185 remoteClient.SendAgentAlertMessage("Notecard saved", false);
184 part.GetProperties(remoteClient); 186 part.GetProperties(remoteClient);
187 }
185 } 188 }
186 } 189 }
187 } 190 }