diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 5270d11..9f99305 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -136,9 +136,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
136 | get { return m_capsModule; } | 136 | get { return m_capsModule; } |
137 | } | 137 | } |
138 | 138 | ||
139 | public IConfigSource Config | 139 | protected override IConfigSource GetConfig() |
140 | { | 140 | { |
141 | get { return m_config; } | 141 | return m_config; |
142 | } | 142 | } |
143 | 143 | ||
144 | // Central Update Loop | 144 | // Central Update Loop |
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index c317c2a..9d8582f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -53,7 +53,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
53 | 53 | ||
54 | public IConfigSource Config | 54 | public IConfigSource Config |
55 | { | 55 | { |
56 | get { return null; } | 56 | get { return GetConfig(); } |
57 | } | ||
58 | |||
59 | protected virtual IConfigSource GetConfig() | ||
60 | { | ||
61 | return null; | ||
57 | } | 62 | } |
58 | 63 | ||
59 | /// <value> | 64 | /// <value> |