diff options
author | mingchen | 2008-05-28 23:20:01 +0000 |
---|---|---|
committer | mingchen | 2008-05-28 23:20:01 +0000 |
commit | 1d38510bd283aa1d4e3ecaa280c68beb8e5aa57c (patch) | |
tree | 8518b38281d983dbeb953925f3be335546c12644 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |
parent | From: Kurt Taylor <krtaylor@us.ibm.com> (diff) | |
download | opensim-SC-1d38510bd283aa1d4e3ecaa280c68beb8e5aa57c.zip opensim-SC-1d38510bd283aa1d4e3ecaa280c68beb8e5aa57c.tar.gz opensim-SC-1d38510bd283aa1d4e3ecaa280c68beb8e5aa57c.tar.bz2 opensim-SC-1d38510bd283aa1d4e3ecaa280c68beb8e5aa57c.tar.xz |
*Added a Few External Checks relating to scripts including the seperation of runscript into 3 different situations (Rez, start stop)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index f5fe561..25e36c5 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -295,7 +295,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
295 | SceneObjectPart part=GetSceneObjectPart(objectID); | 295 | SceneObjectPart part=GetSceneObjectPart(objectID); |
296 | if (part == null) | 296 | if (part == null) |
297 | return; | 297 | return; |
298 | EventManager.TriggerScriptReset(part.LocalId, itemID); | 298 | |
299 | if (ExternalChecks.ExternalChecksCanResetScript(itemID, remoteClient.AgentId)) | ||
300 | { | ||
301 | EventManager.TriggerScriptReset(part.LocalId, itemID); | ||
302 | } | ||
299 | } | 303 | } |
300 | } | 304 | } |
301 | } | 305 | } |