From f0564549a9517d9b15a46ed6bf990a577c1ac935 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 30 Sep 2008 14:57:05 +0000 Subject: [PATCH] Add two more default script engine params --- .../Environment/Modules/World/Serialiser/SceneXmlLoader.cs | 2 +- OpenSim/Region/Environment/Scenes/InnerScene.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs index 334d895407..af69707826 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs @@ -180,7 +180,7 @@ namespace OpenSim.Region.Environment.Scenes foreach (SceneObjectGroup sceneObject in sceneObjects) { - sceneObject.CreateScriptInstances(0, true, ""); + sceneObject.CreateScriptInstances(0, true, scene.DefaultScriptEngine); } } diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 1c421b7abc..cd5a9f5a0d 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -1604,7 +1604,7 @@ namespace OpenSim.Region.Environment.Scenes copy.UpdateGroupRotation(rot); } - copy.CreateScriptInstances(0, false, ""); + copy.CreateScriptInstances(0, false, m_parentScene.DefaultScriptEngine); copy.HasGroupChanged = true; copy.ScheduleGroupForFullUpdate(); return copy;