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/Environment/Scenes/Scene.cs | 16 ----------------
OpenSim/Region/Environment/Scenes/SceneManager.cs | 10 ----------
2 files changed, 26 deletions(-)
(limited to 'OpenSim/Region/Environment')
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