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
parent e962c44749
commit fad5158ab4

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