From 288411222755afaeb7e7a9a56c106f60edfa2506 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 7 Nov 2007 22:22:32 +0000 Subject: move Sun into a Region Module, pass 1. Currently this works fine with a fixed 30 minute day and the sun going East -> West again. It gets rid of super noon as well. It's a bit debug heavy right now, which I'll clean up tomorrow. I also plan to make time progression configurable in OpenSim.ini, but that will be tomorrow. --- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index d436bb3..7e1bbfa 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -324,8 +324,8 @@ namespace OpenSim.Region.Environment.Scenes if (m_frame%m_update_land == 0) UpdateLand(); - if (m_frame%m_update_avatars == 0) - UpdateInWorldTime(); + // if (m_frame%m_update_avatars == 0) + // UpdateInWorldTime(); } catch (NotImplementedException) { -- cgit v1.1