From feba3cc3ff1f651bebdf06f53df40643ed742542 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 13 Jan 2009 17:01:57 +0000
Subject: * Removing set-time command since it doesn't actually do anything at
all * If this was crucial to someone then it should be reinsertable as a
module
---
OpenSim/Region/Application/OpenSim.cs | 5 -----
OpenSim/Region/Environment/Scenes/Scene.cs | 16 ----------------
OpenSim/Region/Environment/Scenes/SceneManager.cs | 10 ----------
3 files changed, 31 deletions(-)
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 4440fe1..3db7176 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -235,10 +235,6 @@ namespace OpenSim
m_assetCache.Clear();
break;
- case "set-time":
- m_sceneManager.SetCurrentSceneTimePhase(Convert.ToInt32(cmdparams[0]));
- break;
-
case "force-update":
m_console.Notice("Updating all clients");
m_sceneManager.ForceCurrentSceneClientUpdate();
@@ -679,7 +675,6 @@ namespace OpenSim
m_console.Notice("load-oar [filename] - load an OpenSimulator region archive. This replaces everything in the current region.");
m_console.Notice("save-oar [filename] - Save the current region to an OpenSimulator region archive.");
m_console.Notice("script - manually trigger scripts? or script commands?");
- m_console.Notice("set-time [x] - set the current scene time phase");
m_console.Notice("show assets - show state of asset cache.");
m_console.Notice("show modules - shows info about loaded modules.");
m_console.Notice("show queues - show packet queues length for all clients.");
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 37ff645..09eb0e6 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -80,8 +80,6 @@ namespace OpenSim.Region.Environment.Scenes
/// TODO: Possibly stop other classes being able to manipulate this directly.
public SceneGraph m_sceneGraph;
- private int m_timePhase = 24;
-
///
/// Are we applying physics to any of the prims in this scene?
///
@@ -245,11 +243,6 @@ namespace OpenSim.Region.Environment.Scenes
get { return StatsReporter.getLastReportedSimFPS(); }
}
- public int TimePhase
- {
- get { return m_timePhase; }
- }
-
public string DefaultScriptEngine
{
get { return m_defaultScriptEngine; }
@@ -3356,15 +3349,6 @@ namespace OpenSim.Region.Environment.Scenes
#region Other Methods
- ///
- ///
- ///
- ///
- public void SetTimePhase(int phase)
- {
- m_timePhase = phase;
- }
-
public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms)
{
m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms);
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 5541454..040a0d4 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -483,16 +483,6 @@ namespace OpenSim.Region.Environment.Scenes
return null;
}
- public void SetCurrentSceneTimePhase(int timePhase)
- {
- ForEachCurrentScene(delegate(Scene scene)
- {
- scene.SetTimePhase(
- timePhase)
- ;
- });
- }
-
public void ForceCurrentSceneClientUpdate()
{
ForEachCurrentScene(delegate(Scene scene) { scene.ForceClientUpdate(); });
--
cgit v1.1