Fix bug where CHANGED_REGION and/or CHANGED_TELEPORT weren't firing for scripts in attachments.

This was because the script resumption in AttachmentsModule was firing the attach event instead.
Had to reinstate the code in 285bd3a do we can resume the scripts there instead, though the bug existed before its removal.
This is to resolve http://opensimulator.org/mantis/view.php?id=6578
This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-29 02:21:38 +00:00
parent e89bcf4f77
commit 23ae4c0a4d
4 changed files with 31 additions and 2 deletions

View File

@@ -3203,6 +3203,10 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="events"></param>
public void SetScriptEvents(UUID scriptid, int events)
{
// m_log.DebugFormat(
// "[SCENE OBJECT PART]: Set script events for script with id {0} on {1}/{2} to {3} in {4}",
// scriptid, Name, ParentGroup.Name, events, ParentGroup.Scene.Name);
// scriptEvents oldparts;
lock (m_scriptEvents)
{