aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-05-26 16:16:48 +0000
committerCharles Krinke2008-05-26 16:16:48 +0000
commited717ec181ef9946fbb5182d59e9f051ae1478ac (patch)
treef5357655e40c618338756937fecd5092fbb1c656 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parentdisabling m_log again. (diff)
downloadopensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.zip
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.gz
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.bz2
opensim-SC_OLD-ed717ec181ef9946fbb5182d59e9f051ae1478ac.tar.xz
Thank you kindly, Melanie for a patch for script reset
that creates the event handler chain ready to hook by script engines
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 8419399..41bd2d3 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -288,5 +288,14 @@ namespace OpenSim.Region.Environment.Scenes
288 } 288 }
289 client.SendAvatarPickerReply(agent_data, data_args); 289 client.SendAvatarPickerReply(agent_data, data_args);
290 } 290 }
291
292 public void ProcessScriptReset(IClientAPI remoteClient, LLUUID objectID,
293 LLUUID itemID)
294 {
295 SceneObjectPart part=GetSceneObjectPart(objectID);
296 if(part == null)
297 return;
298 EventManager.TriggerScriptReset(part.LocalId, itemID);
299 }
291 } 300 }
292} 301}