aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorDiva Canto2015-08-30 15:52:26 -0700
committerDiva Canto2015-08-30 15:52:26 -0700
commit5648eb7bd1f2345aad1530d90964278fe352faea (patch)
tree5a1a83404deb6aea7bb4780beb9a65aeb679ae2a /OpenSim/Region/Application
parentMantis #7713: fixed bug introduced by 1st MOSES patch. (diff)
downloadopensim-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/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 3be411a..62a52d6 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -752,10 +752,8 @@ namespace OpenSim
752 Vector3 regionExtent = new Vector3(regionInfo.RegionSizeX, regionInfo.RegionSizeY, regionInfo.RegionSizeZ); 752 Vector3 regionExtent = new Vector3(regionInfo.RegionSizeX, regionInfo.RegionSizeY, regionInfo.RegionSizeZ);
753 PhysicsScene physicsScene = GetPhysicsScene(regionInfo.RegionName, regionExtent); 753 PhysicsScene physicsScene = GetPhysicsScene(regionInfo.RegionName, regionExtent);
754 754
755 SceneCommunicationService sceneGridService = new SceneCommunicationService();
756
757 return new Scene( 755 return new Scene(
758 regionInfo, circuitManager, physicsScene, sceneGridService, 756 regionInfo, circuitManager, physicsScene,
759 simDataService, estateDataService, 757 simDataService, estateDataService,
760 Config, m_version); 758 Config, m_version);
761 } 759 }