diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index e8708a1..bba5ae1 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -790,25 +790,26 @@ namespace OpenSim.Region.Environment.Scenes | |||
790 | } | 790 | } |
791 | 791 | ||
792 | //Updates the time in the viewer. | 792 | //Updates the time in the viewer. |
793 | private void UpdateInWorldTime() | 793 | // TODO: unused |
794 | { | 794 | // private void UpdateInWorldTime() |
795 | m_timeUpdateCount++; | 795 | // { |
796 | if (m_timeUpdateCount > 600) | 796 | // m_timeUpdateCount++; |
797 | { | 797 | // if (m_timeUpdateCount > 600) |
798 | List<ScenePresence> avatars = GetAvatars(); | 798 | // { |
799 | foreach (ScenePresence avatar in avatars) | 799 | // List<ScenePresence> avatars = GetAvatars(); |
800 | { | 800 | // foreach (ScenePresence avatar in avatars) |
801 | avatar.ControllingClient.SendViewerTime(m_timePhase); | 801 | // { |
802 | } | 802 | // avatar.ControllingClient.SendViewerTime(m_timePhase); |
803 | 803 | // } | |
804 | m_timeUpdateCount = 0; | 804 | |
805 | m_timePhase++; | 805 | // m_timeUpdateCount = 0; |
806 | if (m_timePhase > 94) | 806 | // m_timePhase++; |
807 | { | 807 | // if (m_timePhase > 94) |
808 | m_timePhase = 0; | 808 | // { |
809 | } | 809 | // m_timePhase = 0; |
810 | } | 810 | // } |
811 | } | 811 | // } |
812 | // } | ||
812 | 813 | ||
813 | private void SendSimStatsPackets(SimStatsPacket pack) | 814 | private void SendSimStatsPackets(SimStatsPacket pack) |
814 | { | 815 | { |