diff options
author | MW | 2007-11-03 19:14:22 +0000 |
---|---|---|
committer | MW | 2007-11-03 19:14:22 +0000 |
commit | dabbdec2cdf2c1056e4ebb8aec38302a1fa9eba4 (patch) | |
tree | ee886c072810521bd56b7124d53e093a8bc9cbf8 /OpenSim/Region/Application | |
parent | tiny commit to prepare for the first proper part of Scene.cs refactoring. (diff) | |
download | opensim-SC-dabbdec2cdf2c1056e4ebb8aec38302a1fa9eba4.zip opensim-SC-dabbdec2cdf2c1056e4ebb8aec38302a1fa9eba4.tar.gz opensim-SC-dabbdec2cdf2c1056e4ebb8aec38302a1fa9eba4.tar.bz2 opensim-SC-dabbdec2cdf2c1056e4ebb8aec38302a1fa9eba4.tar.xz |
First part of Scene refactoring:
Started the move of some of the methods from scene into a inner class (currently called InnerScene.cs), the idea being that the code related to the 3d scene (primitive/entities/Avatars etc) will be in this inner class, then what is now Scene.cs will be left as a kind of wrapper class around it. And once the spilt is complete can be renamed to something like RegionInstance (or any name that sounds good and ids it as the Region layer class that "has" a scene).
Added SceneCommunicationService which at the moment is a kind of high level wrapper around commsManager. The idea being that it has a higher level API for the Region/Scene to send messages to the other regions on the grid. a Example of the API is that instead of having sendXmessage methods, it has more functional level method like PassAvatarToNeighbour. Hopefully this will allow more freedom to do changes in communications that doesn't break other things.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index e9151b5..b8a8f42 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -370,8 +370,9 @@ namespace OpenSim | |||
370 | protected override Scene CreateScene(RegionInfo regionInfo, StorageManager storageManager, | 370 | protected override Scene CreateScene(RegionInfo regionInfo, StorageManager storageManager, |
371 | AgentCircuitManager circuitManager) | 371 | AgentCircuitManager circuitManager) |
372 | { | 372 | { |
373 | SceneCommunicationService sceneGridService = new SceneCommunicationService(m_commsManager); | ||
373 | return | 374 | return |
374 | new Scene(regionInfo, circuitManager, m_commsManager, m_assetCache, storageManager, m_httpServer, | 375 | new Scene(regionInfo, circuitManager, m_commsManager, sceneGridService, m_assetCache, storageManager, m_httpServer, |
375 | m_moduleLoader, m_dumpAssetsToFile); | 376 | m_moduleLoader, m_dumpAssetsToFile); |
376 | } | 377 | } |
377 | 378 | ||