aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-19 21:28:30 +0100
committerJustin Clark-Casey (justincc)2010-04-19 21:28:30 +0100
commit6b963e73d954b9ae8a6d283b5c83460d6a192ba6 (patch)
treef7c3db7ccb54a27cdb4ed5d38645275792c56266 /OpenSim/Region/CoreModules/Avatar
parentMake the "notecard saved" text appear in the saver rather than the notecard o... (diff)
parentAvoid duplicate script resumes. Move resume calls to more logical places (diff)
downloadopensim-SC-6b963e73d954b9ae8a6d283b5c83460d6a192ba6.zip
opensim-SC-6b963e73d954b9ae8a6d283b5c83460d6a192ba6.tar.gz
opensim-SC-6b963e73d954b9ae8a6d283b5c83460d6a192ba6.tar.bz2
opensim-SC-6b963e73d954b9ae8a6d283b5c83460d6a192ba6.tar.xz
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index c87a383..f050dcf 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -239,6 +239,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
239 // Fire after attach, so we don't get messy perms dialogs 239 // Fire after attach, so we don't get messy perms dialogs
240 // 3 == AttachedRez 240 // 3 == AttachedRez
241 objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3); 241 objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
242 objatt.ResumeScripts();
242 243
243 // Do this last so that event listeners have access to all the effects of the attachment 244 // 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); 245 m_scene.EventManager.TriggerOnAttach(objatt.LocalId, itemID, remoteClient.AgentId);
@@ -413,4 +414,4 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
413 } 414 }
414 } 415 }
415 } 416 }
416} \ No newline at end of file 417}