aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-04-19 18:44:21 +0200
committerMelanie Thielker2010-04-19 18:44:21 +0200
commit80024c023ad134416038b68a29d5e583f5d5e8a0 (patch)
tree6fd80a14b97d76292038d54d6092384aff55575f
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-80024c023ad134416038b68a29d5e583f5d5e8a0.zip
opensim-SC_OLD-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.gz
opensim-SC_OLD-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.bz2
opensim-SC_OLD-80024c023ad134416038b68a29d5e583f5d5e8a0.tar.xz
Remove the event trigger for the attach event from the attachment module.
The script engine already triggers this internally.
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs2
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 {