Add a call to SOG.ResumeScripts() after region crossing / teleport

avinationmerge
Melanie Thielker 2010-06-07 00:09:22 +02:00
parent e962c44749
commit fad5158ab4
1 changed files with 2 additions and 0 deletions

View File

@ -2495,6 +2495,8 @@ namespace OpenSim.Region.Framework.Scenes
newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, 1);
newObject.ResumeScripts();
// Do this as late as possible so that listeners have full access to the incoming object
EventManager.TriggerOnIncomingSceneObject(newObject);