aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index be2ddae..1a9e6c4 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -203,6 +203,7 @@ namespace OpenSim.Region.Environment.Scenes
203 lock (m_taskInventory) 203 lock (m_taskInventory)
204 { 204 {
205 m_taskInventory.Add(item.ItemID, item); 205 m_taskInventory.Add(item.ItemID, item);
206 TriggerScriptChangedEvent(Changed.INVENTORY);
206 } 207 }
207 208
208 m_inventorySerial++; 209 m_inventorySerial++;
@@ -220,6 +221,7 @@ namespace OpenSim.Region.Environment.Scenes
220 foreach (TaskInventoryItem item in items) 221 foreach (TaskInventoryItem item in items)
221 { 222 {
222 m_taskInventory.Add(item.ItemID, item); 223 m_taskInventory.Add(item.ItemID, item);
224 TriggerScriptChangedEvent(Changed.INVENTORY);
223 } 225 }
224 } 226 }
225 227
@@ -265,7 +267,8 @@ namespace OpenSim.Region.Environment.Scenes
265 { 267 {
266 m_taskInventory[item.ItemID] = item; 268 m_taskInventory[item.ItemID] = item;
267 m_inventorySerial++; 269 m_inventorySerial++;
268 270 TriggerScriptChangedEvent(Changed.INVENTORY);
271
269 return true; 272 return true;
270 } 273 }
271 else 274 else
@@ -295,6 +298,7 @@ namespace OpenSim.Region.Environment.Scenes
295 int type = m_taskInventory[itemID].InvType; 298 int type = m_taskInventory[itemID].InvType;
296 m_taskInventory.Remove(itemID); 299 m_taskInventory.Remove(itemID);
297 m_inventorySerial++; 300 m_inventorySerial++;
301 TriggerScriptChangedEvent(Changed.INVENTORY);
298 302
299 return type; 303 return type;
300 } 304 }