mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Instead of auto-creating a parcel on request if one doesn't cover a given location, fill in gaps or extend existing parcel right after initial data load.
This is in line with simpler and still existing behaviour where a default parcel is created if no parcels are in storage at all. Making this change as another step to address current problems with spurious parcels occasionally being created. Also adds regression tests for different load behaviours depending on existing stored parcel data. Relates to http://opensimulator.org/mantis/view.php?id=7035
This commit is contained in:
@@ -63,9 +63,9 @@ namespace OpenSim.Tests.Common
|
||||
/// </summary>
|
||||
public SceneManager SceneManager { get; private set; }
|
||||
|
||||
public ISimulationDataService SimDataService { get; private set; }
|
||||
|
||||
private AgentCircuitManager m_acm = new AgentCircuitManager();
|
||||
private ISimulationDataService m_simDataService
|
||||
= OpenSim.Server.Base.ServerUtils.LoadPlugin<ISimulationDataService>("OpenSim.Tests.Common.dll", null);
|
||||
private IEstateDataService m_estateDataService = null;
|
||||
|
||||
private LocalAssetServicesConnector m_assetService;
|
||||
@@ -96,6 +96,9 @@ namespace OpenSim.Tests.Common
|
||||
m_presenceService.PostInitialise();
|
||||
|
||||
m_cache = cache;
|
||||
|
||||
SimDataService
|
||||
= OpenSim.Server.Base.ServerUtils.LoadPlugin<ISimulationDataService>("OpenSim.Tests.Common.dll", null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -139,7 +142,7 @@ namespace OpenSim.Tests.Common
|
||||
SceneCommunicationService scs = new SceneCommunicationService();
|
||||
|
||||
TestScene testScene = new TestScene(
|
||||
regInfo, m_acm, scs, m_simDataService, m_estateDataService, configSource, null);
|
||||
regInfo, m_acm, scs, SimDataService, m_estateDataService, configSource, null);
|
||||
|
||||
INonSharedRegionModule godsModule = new GodsModule();
|
||||
godsModule.Initialise(new IniConfigSource());
|
||||
|
||||
Reference in New Issue
Block a user