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

This commit is contained in:
Melanie Thielker
2010-06-07 00:09:22 +02:00
committed by Melanie
parent ab3afd5f42
commit d91bd7646d

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);