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

soprefactor
Melanie Thielker 2010-06-07 00:09:22 +02:00 committed by Melanie
parent ab3afd5f42
commit d91bd7646d
1 changed files with 2 additions and 0 deletions

View File

@ -2467,6 +2467,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);