Fix Unit tests -- the module contract was not being honored in the set up of scenes.
parent
a5fdfd6343
commit
c6c6ac0a3e
|
@ -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