diff options
author | Melanie Thielker | 2010-04-19 18:44:21 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-04-19 18:44:21 +0200 |
commit | 80024c023ad134416038b68a29d5e583f5d5e8a0 (patch) | |
tree | 6fd80a14b97d76292038d54d6092384aff55575f /OpenSim/Region | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-80024c023ad134416038b68a29d5e583f5d5e8a0.zip opensim-SC-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.gz opensim-SC-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.bz2 opensim-SC-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.xz |
Remove the event trigger for the attach event from the attachment module.
The script engine already triggers this internally.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 77e73fb..9178a0e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -241,7 +241,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
241 | objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3); | 241 | objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3); |
242 | 242 | ||
243 | // Do this last so that event listeners have access to all the effects of the attachment | 243 | // Do this last so that event listeners have access to all the effects of the attachment |
244 | m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId); | 244 | //m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId); |
245 | } | 245 | } |
246 | else | 246 | else |
247 | { | 247 | { |