aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMW2007-08-22 18:36:47 +0000
committerMW2007-08-22 18:36:47 +0000
commit47c6d8ae8f85f07a16390f0130180a1b0521b6a1 (patch)
treef1aeac40c1f77eba0642ba35263cc76ed4c60c97 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parent(Untested) Scripts are individually loaded into objects (on rez), and event f... (diff)
downloadopensim-SC-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.zip
opensim-SC-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.gz
opensim-SC-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.bz2
opensim-SC-47c6d8ae8f85f07a16390f0130180a1b0521b6a1.tar.xz
Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index c50809f..c3d70ea 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -643,6 +643,16 @@ namespace OpenSim.Region.Environment.Scenes
643 643
644 } 644 }
645 645
646 public int RemoveInventoryItem(IClientAPI remoteClient, uint localID, LLUUID itemID)
647 {
648 SceneObjectPart part = this.GetChildPart(localID);
649 if (part != null)
650 {
651 return part.RemoveInventoryItem(remoteClient, localID, itemID);
652 }
653 return -1;
654 }
655
646 /// <summary> 656 /// <summary>
647 /// 657 ///
648 /// </summary> 658 /// </summary>