fix some texts init
parent
96553ecc11
commit
0587dd38dc
|
@ -68,6 +68,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
IConfig config = initConfigSource.AddConfig("XEngine");
|
||||
config.Set("Enabled", "true");
|
||||
|
||||
config = initConfigSource.AddConfig("OSSL");
|
||||
config.Set("DebuggerSafe", false);
|
||||
config.Set("AllowOSFunctions", "true");
|
||||
config.Set("OSFunctionThreatLevel", "Severe");
|
||||
|
||||
m_scene = new SceneHelpers().SetupScene();
|
||||
SceneHelpers.SetupSceneModules(m_scene, initConfigSource);
|
||||
|
||||
|
|
|
@ -73,6 +73,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
|
||||
config = initConfigSource.AddConfig("XEngine");
|
||||
config.Set("Enabled", "true");
|
||||
config = initConfigSource.AddConfig("OSSL");
|
||||
config.Set("DebuggerSafe", false);
|
||||
config.Set("AllowOSFunctions", "true");
|
||||
config.Set("OSFunctionThreatLevel", "Severe");
|
||||
|
||||
m_scene = new SceneHelpers().SetupScene();
|
||||
SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new object[] { new DefaultPermissionsModule() });
|
||||
|
|
|
@ -70,6 +70,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
IConfig config = initConfigSource.AddConfig("XEngine");
|
||||
config.Set("Enabled", "true");
|
||||
|
||||
config = initConfigSource.AddConfig("OSSL");
|
||||
config.Set("DebuggerSafe", false);
|
||||
config.Set("AllowOSFunctions", "true");
|
||||
config.Set("OSFunctionThreatLevel", "Severe");
|
||||
|
||||
m_scene = new SceneHelpers().SetupScene();
|
||||
SceneHelpers.SetupSceneModules(m_scene, initConfigSource);
|
||||
|
||||
|
|
|
@ -59,6 +59,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
|||
IConfig config = initConfigSource.AddConfig("XEngine");
|
||||
config.Set("Enabled", "true");
|
||||
|
||||
config = initConfigSource.AddConfig("OSSL");
|
||||
config.Set("DebuggerSafe", false);
|
||||
config.Set("AllowOSFunctions", "true");
|
||||
config.Set("OSFunctionThreatLevel", "Severe");
|
||||
Scene scene = new SceneHelpers().SetupScene();
|
||||
SceneObjectPart part = SceneHelpers.AddSceneObject(scene).RootPart;
|
||||
|
||||
|
|
Loading…
Reference in New Issue