aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/EstateSettings.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-30 05:25:50 +0000
committerTeravus Ovares2008-05-30 05:25:50 +0000
commitd2aa2be7889f22c5830dad19e44b5b3234d448a0 (patch)
tree37c4e243426cb75d97de920baaeb5c096a3fb7fb /OpenSim/Framework/EstateSettings.cs
parent* Updated sun module to only send sun updates to root agents. Because it wa... (diff)
downloadopensim-SC-d2aa2be7889f22c5830dad19e44b5b3234d448a0.zip
opensim-SC-d2aa2be7889f22c5830dad19e44b5b3234d448a0.tar.gz
opensim-SC-d2aa2be7889f22c5830dad19e44b5b3234d448a0.tar.bz2
opensim-SC-d2aa2be7889f22c5830dad19e44b5b3234d448a0.tar.xz
* Added helper method to the Sun module to Get the Linden hour based on the math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools.
Diffstat (limited to 'OpenSim/Framework/EstateSettings.cs')
-rw-r--r--OpenSim/Framework/EstateSettings.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 331d7c3..d0e56ab 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -199,7 +199,9 @@ namespace OpenSim.Framework
199 set 199 set
200 { 200 {
201 m_sunHour = value; 201 m_sunHour = value;
202 configMember.forceSetConfigurationOption("sun_hour", m_sunHour.ToString()); 202
203 if (useFixedSun)
204 configMember.forceSetConfigurationOption("sun_hour", m_sunHour.ToString());
203 } 205 }
204 } 206 }
205 207