diff options
Diffstat (limited to 'OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 434b734..413a2b9 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -136,6 +136,7 @@ namespace OpenSim.Tests.Common.Setup | |||
136 | assetService.AddRegion(testScene); | 136 | assetService.AddRegion(testScene); |
137 | assetService.RegionLoaded(testScene); | 137 | assetService.RegionLoaded(testScene); |
138 | testScene.AddRegionModule(assetService.Name, assetService); | 138 | testScene.AddRegionModule(assetService.Name, assetService); |
139 | assetService.PostInitialise(); | ||
139 | 140 | ||
140 | testScene.SetModuleInterfaces(); | 141 | testScene.SetModuleInterfaces(); |
141 | 142 | ||
@@ -176,6 +177,7 @@ namespace OpenSim.Tests.Common.Setup | |||
176 | IRegionModule m = (IRegionModule)module; | 177 | IRegionModule m = (IRegionModule)module; |
177 | m.Initialise(scene, config); | 178 | m.Initialise(scene, config); |
178 | scene.AddModule(m.Name, m); | 179 | scene.AddModule(m.Name, m); |
180 | m.PostInitialise(); | ||
179 | } | 181 | } |
180 | else if (module is IRegionModuleBase) | 182 | else if (module is IRegionModuleBase) |
181 | { | 183 | { |