From d2aa2be7889f22c5830dad19e44b5b3234d448a0 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 30 May 2008 05:25:50 +0000 Subject: * 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. --- OpenSim/Framework/EstateSettings.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework') 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 set { m_sunHour = value; - configMember.forceSetConfigurationOption("sun_hour", m_sunHour.ToString()); + + if (useFixedSun) + configMember.forceSetConfigurationOption("sun_hour", m_sunHour.ToString()); } } -- cgit v1.1