diff options
author | Diva Canto | 2012-11-11 19:39:21 -0800 |
---|---|---|
committer | Diva Canto | 2012-11-11 19:39:21 -0800 |
commit | db418bff2bb6b2676c996e77b260b0977e886f5d (patch) | |
tree | 22efac35f69b9ac51bc784ffb8352339bc0f04f8 /OpenSim/Tests/Common | |
parent | One more module converted: WebStatsModule. (diff) | |
download | opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.zip opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.gz opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.bz2 opensim-SC_OLD-db418bff2bb6b2676c996e77b260b0977e886f5d.tar.xz |
Fix issues with the DynamicTextureModule and corresponding unit tests.
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index f9c1ac2..db0a7fc 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -385,6 +385,11 @@ namespace OpenSim.Tests.Common | |||
385 | 385 | ||
386 | foreach (IRegionModuleBase module in newModules) | 386 | foreach (IRegionModuleBase module in newModules) |
387 | { | 387 | { |
388 | if (module is ISharedRegionModule) ((ISharedRegionModule)module).PostInitialise(); | ||
389 | } | ||
390 | |||
391 | foreach (IRegionModuleBase module in newModules) | ||
392 | { | ||
388 | foreach (Scene scene in scenes) | 393 | foreach (Scene scene in scenes) |
389 | { | 394 | { |
390 | module.AddRegion(scene); | 395 | module.AddRegion(scene); |
@@ -392,11 +397,6 @@ namespace OpenSim.Tests.Common | |||
392 | } | 397 | } |
393 | } | 398 | } |
394 | 399 | ||
395 | foreach (IRegionModuleBase module in newModules) | ||
396 | { | ||
397 | if (module is ISharedRegionModule) ((ISharedRegionModule)module).PostInitialise(); | ||
398 | } | ||
399 | |||
400 | // RegionLoaded is fired after all modules have been appropriately added to all scenes | 400 | // RegionLoaded is fired after all modules have been appropriately added to all scenes |
401 | foreach (IRegionModuleBase module in newModules) | 401 | foreach (IRegionModuleBase module in newModules) |
402 | foreach (Scene scene in scenes) | 402 | foreach (Scene scene in scenes) |