Fix Unit tests -- the module contract was not being honored in the set up of scenes.
parent
4ac857f902
commit
26a94610fc
|
@ -383,11 +383,6 @@ namespace OpenSim.Tests.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (IRegionModuleBase module in newModules)
|
|
||||||
{
|
|
||||||
if (module is ISharedRegionModule) ((ISharedRegionModule)module).PostInitialise();
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (IRegionModuleBase module in newModules)
|
foreach (IRegionModuleBase module in newModules)
|
||||||
{
|
{
|
||||||
foreach (Scene scene in scenes)
|
foreach (Scene scene in scenes)
|
||||||
|
@ -397,6 +392,11 @@ namespace OpenSim.Tests.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (IRegionModuleBase module in newModules)
|
||||||
|
{
|
||||||
|
if (module is ISharedRegionModule) ((ISharedRegionModule)module).PostInitialise();
|
||||||
|
}
|
||||||
|
|
||||||
// RegionLoaded is fired after all modules have been appropriately added to all scenes
|
// RegionLoaded is fired after all modules have been appropriately added to all scenes
|
||||||
foreach (IRegionModuleBase module in newModules)
|
foreach (IRegionModuleBase module in newModules)
|
||||||
foreach (Scene scene in scenes)
|
foreach (Scene scene in scenes)
|
||||||
|
|
Loading…
Reference in New Issue