aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDiva Canto2010-07-14 11:02:41 -0700
committerDiva Canto2010-07-14 11:02:41 -0700
commit12858122d5fdda6b07841f86398230b0620d97c9 (patch)
tree74f3d2af2ab8091b602448c7e60cb8abb146de34 /OpenSim/Region/Framework/Scenes
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-12858122d5fdda6b07841f86398230b0620d97c9.zip
opensim-SC-12858122d5fdda6b07841f86398230b0620d97c9.tar.gz
opensim-SC-12858122d5fdda6b07841f86398230b0620d97c9.tar.bz2
opensim-SC-12858122d5fdda6b07841f86398230b0620d97c9.tar.xz
Fixes mantis #4870.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs8
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 }