diff options
author | Justin Clark-Casey (justincc) | 2010-07-14 23:29:04 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-14 23:29:04 +0100 |
commit | 99a6950b3089b7d945d2e7981780e44e469a4ed8 (patch) | |
tree | 9f1a58921f77da1e393352b1c1ed2e383f5da317 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | improve closing of load/save iar streams in the event of a problem (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-99a6950b3089b7d945d2e7981780e44e469a4ed8.zip opensim-SC-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.gz opensim-SC-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.bz2 opensim-SC-99a6950b3089b7d945d2e7981780e44e469a4ed8.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 2578685..6e73fe9 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1343,7 +1343,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
1343 | } | 1343 | } |
1344 | if (part.Inventory.UpdateInventoryItem(itemInfo)) | 1344 | if (part.Inventory.UpdateInventoryItem(itemInfo)) |
1345 | { | 1345 | { |
1346 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | 1346 | if ((InventoryType)itemInfo.InvType == InventoryType.Notecard) |
1347 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | ||
1348 | else if ((InventoryType)itemInfo.InvType == InventoryType.LSL) | ||
1349 | remoteClient.SendAgentAlertMessage("Script saved", false); | ||
1350 | else | ||
1351 | remoteClient.SendAgentAlertMessage("Item saved", false); | ||
1352 | |||
1347 | part.GetProperties(remoteClient); | 1353 | part.GetProperties(remoteClient); |
1348 | } | 1354 | } |
1349 | } | 1355 | } |