diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 4188deb..5b93ef9 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -43,6 +43,7 @@ using OpenSim.Region.Environment.Interfaces; | |||
43 | using OpenSim.Region.Environment.Modules.World.Terrain; | 43 | using OpenSim.Region.Environment.Modules.World.Terrain; |
44 | using OpenSim.Region.Environment.Scenes.Scripting; | 44 | using OpenSim.Region.Environment.Scenes.Scripting; |
45 | using OpenSim.Region.Physics.Manager; | 45 | using OpenSim.Region.Physics.Manager; |
46 | using Nini.Config; | ||
46 | using Caps=OpenSim.Framework.Communications.Capabilities.Caps; | 47 | using Caps=OpenSim.Framework.Communications.Capabilities.Caps; |
47 | using Image=System.Drawing.Image; | 48 | using Image=System.Drawing.Image; |
48 | using Timer=System.Timers.Timer; | 49 | using Timer=System.Timers.Timer; |
@@ -115,6 +116,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
115 | protected IWorldComm m_worldCommModule; | 116 | protected IWorldComm m_worldCommModule; |
116 | protected IAvatarFactory m_AvatarFactory; | 117 | protected IAvatarFactory m_AvatarFactory; |
117 | protected IScenePermissions m_permissions; | 118 | protected IScenePermissions m_permissions; |
119 | protected IConfigSource m_config; | ||
118 | 120 | ||
119 | // Central Update Loop | 121 | // Central Update Loop |
120 | 122 | ||
@@ -134,6 +136,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
134 | private int m_update_backup = 200; | 136 | private int m_update_backup = 200; |
135 | private int m_update_terrain = 50; | 137 | private int m_update_terrain = 50; |
136 | private int m_update_land = 1; | 138 | private int m_update_land = 1; |
139 | |||
137 | 140 | ||
138 | private int frameMS = 0; | 141 | private int frameMS = 0; |
139 | private int physicsMS2 = 0; | 142 | private int physicsMS2 = 0; |
@@ -223,8 +226,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
223 | public Scene(RegionInfo regInfo, AgentCircuitManager authen, | 226 | public Scene(RegionInfo regInfo, AgentCircuitManager authen, |
224 | CommunicationsManager commsMan, SceneCommunicationService sceneGridService, | 227 | CommunicationsManager commsMan, SceneCommunicationService sceneGridService, |
225 | AssetCache assetCach, StorageManager storeManager, BaseHttpServer httpServer, | 228 | AssetCache assetCach, StorageManager storeManager, BaseHttpServer httpServer, |
226 | ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, bool SeeIntoRegionFromNeighbor) | 229 | ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, bool SeeIntoRegionFromNeighbor, IConfigSource config) |
227 | { | 230 | { |
231 | m_config = config; | ||
228 | updateLock = new Mutex(false); | 232 | updateLock = new Mutex(false); |
229 | m_moduleLoader = moduleLoader; | 233 | m_moduleLoader = moduleLoader; |
230 | m_authenticateHandler = authen; | 234 | m_authenticateHandler = authen; |