From f0564549a9517d9b15a46ed6bf990a577c1ac935 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 30 Sep 2008 14:57:05 +0000 Subject: Add two more default script engine params --- OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs | 2 +- OpenSim/Region/Environment/Scenes/InnerScene.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs index 334d895..af69707 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 1c421b7..cd5a9f5 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; -- cgit v1.1