mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
change ossl tests setup
This commit is contained in:
@@ -66,11 +66,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
|
||||
IConfigSource initConfigSource = new IniConfigSource();
|
||||
IConfig config = initConfigSource.AddConfig("XEngine");
|
||||
config.Set("Enabled", "true");
|
||||
config.Set("AllowOSFunctions", "true");
|
||||
config.Set("OSFunctionThreatLevel", "Severe");
|
||||
|
||||
config = initConfigSource.AddConfig("NPC");
|
||||
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 AvatarFactoryModule(), new AttachmentsModule(), new NPCModule());
|
||||
|
||||
Reference in New Issue
Block a user