diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 2f1a189..e6e414f 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -202,7 +202,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
202 | 202 | ||
203 | // Update item with new asset | 203 | // Update item with new asset |
204 | item.AssetID = asset.FullID; | 204 | item.AssetID = asset.FullID; |
205 | group.UpdateInventoryItem(item); | 205 | if (group.UpdateInventoryItem(item)) |
206 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | ||
207 | |||
206 | part.GetProperties(remoteClient); | 208 | part.GetProperties(remoteClient); |
207 | 209 | ||
208 | // Trigger rerunning of script (use TriggerRezScript event, see RezScript) | 210 | // Trigger rerunning of script (use TriggerRezScript event, see RezScript) |
@@ -1229,7 +1231,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1229 | remoteClient, part, transactionID, currentItem); | 1231 | remoteClient, part, transactionID, currentItem); |
1230 | } | 1232 | } |
1231 | if (part.Inventory.UpdateInventoryItem(itemInfo)) | 1233 | if (part.Inventory.UpdateInventoryItem(itemInfo)) |
1234 | { | ||
1235 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | ||
1232 | part.GetProperties(remoteClient); | 1236 | part.GetProperties(remoteClient); |
1237 | } | ||
1233 | } | 1238 | } |
1234 | } | 1239 | } |
1235 | else | 1240 | else |