diff options
author | Diva Canto | 2015-08-30 15:52:26 -0700 |
---|---|---|
committer | Diva Canto | 2015-08-30 15:52:26 -0700 |
commit | 5648eb7bd1f2345aad1530d90964278fe352faea (patch) | |
tree | 5a1a83404deb6aea7bb4780beb9a65aeb679ae2a /OpenSim/Tests/Common/Mock/TestScene.cs | |
parent | Mantis #7713: fixed bug introduced by 1st MOSES patch. (diff) | |
download | opensim-SC_OLD-5648eb7bd1f2345aad1530d90964278fe352faea.zip opensim-SC_OLD-5648eb7bd1f2345aad1530d90964278fe352faea.tar.gz opensim-SC_OLD-5648eb7bd1f2345aad1530d90964278fe352faea.tar.bz2 opensim-SC_OLD-5648eb7bd1f2345aad1530d90964278fe352faea.tar.xz |
Moved instantiation of SceneCommunicationService object to inside the scene constructor. This was a left over from the original monolithic design of scene communications. The less the instantiators of scenes know about the scene's internals, the better.
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestScene.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs index 45acf91..bd36097 100644 --- a/OpenSim/Tests/Common/Mock/TestScene.cs +++ b/OpenSim/Tests/Common/Mock/TestScene.cs | |||
@@ -42,9 +42,9 @@ namespace OpenSim.Tests.Common | |||
42 | { | 42 | { |
43 | public TestScene( | 43 | public TestScene( |
44 | RegionInfo regInfo, AgentCircuitManager authen, PhysicsScene physicsScene, | 44 | RegionInfo regInfo, AgentCircuitManager authen, PhysicsScene physicsScene, |
45 | SceneCommunicationService sceneGridService, ISimulationDataService simDataService, IEstateDataService estateDataService, | 45 | ISimulationDataService simDataService, IEstateDataService estateDataService, |
46 | IConfigSource config, string simulatorVersion) | 46 | IConfigSource config, string simulatorVersion) |
47 | : base(regInfo, authen, physicsScene, sceneGridService, simDataService, estateDataService, | 47 | : base(regInfo, authen, physicsScene, simDataService, estateDataService, |
48 | config, simulatorVersion) | 48 | config, simulatorVersion) |
49 | { | 49 | { |
50 | } | 50 | } |