aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
authorlbsa712007-09-17 07:31:15 +0000
committerlbsa712007-09-17 07:31:15 +0000
commitdf58154781c6625f561c5a4a5aa49c3afb43196f (patch)
treeebe6d53604c5819a32a48a098dd20b610988a2ae /OpenSim/Region/Environment/Scenes/SceneManager.cs
parent*doh* (diff)
downloadopensim-SC_OLD-df58154781c6625f561c5a4a5aa49c3afb43196f.zip
opensim-SC_OLD-df58154781c6625f561c5a4a5aa49c3afb43196f.tar.gz
opensim-SC_OLD-df58154781c6625f561c5a4a5aa49c3afb43196f.tar.bz2
opensim-SC_OLD-df58154781c6625f561c5a4a5aa49c3afb43196f.tar.xz
* Moved some commands from Scene into SceneManager so they could be used with 'root'
* Removed some duplicated commands
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs29
1 files changed, 28 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 9773407..dfac406 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -198,7 +198,7 @@ namespace OpenSim.Region.Environment.Scenes
198 { 198 {
199 foreach (Scene scene in m_localScenes) 199 foreach (Scene scene in m_localScenes)
200 { 200 {
201 if( scene.RegionInfo.RegionHandle == regionHandle ) 201 if (scene.RegionInfo.RegionHandle == regionHandle)
202 { 202 {
203 return scene.RegionInfo; 203 return scene.RegionInfo;
204 } 204 }
@@ -206,5 +206,32 @@ namespace OpenSim.Region.Environment.Scenes
206 206
207 return null; 207 return null;
208 } 208 }
209
210 public void SetTimePhase(int timePhase)
211 {
212 ForEach(delegate(Scene scene)
213 {
214 scene.SetTimePhase(
215 timePhase)
216 ;
217 });
218 }
219
220
221 public void ForceClientUpdate()
222 {
223 ForEach(delegate(Scene scene)
224 {
225 scene.ForceClientUpdate();
226 });
227 }
228
229 public void HandleEditCommand(string[] cmdparams)
230 {
231 ForEach(delegate(Scene scene)
232 {
233 scene.HandleEditCommand(cmdparams);
234 });
235 }
209 } 236 }
210} 237}