diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 3b4b719..37ff645 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -404,6 +404,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
404 | } | 404 | } |
405 | } | 405 | } |
406 | 406 | ||
407 | /// <summary> | ||
408 | /// Mock constructor for scene group persistency unit tests. | ||
409 | /// SceneObjectGroup RegionId property is delegated to Scene. | ||
410 | /// </summary> | ||
411 | /// <param name="regInfo"></param> | ||
412 | public Scene(RegionInfo regInfo) | ||
413 | { | ||
414 | m_regInfo = regInfo; | ||
415 | m_eventManager = new EventManager(); | ||
416 | } | ||
417 | |||
407 | #endregion | 418 | #endregion |
408 | 419 | ||
409 | #region Startup / Close Methods | 420 | #region Startup / Close Methods |