Thank you kindly, Thomax, for a patch that solves:

ConfigurableWind module doesn't show any effect as
time = DateTime.Now.TimeOfDay.Seconds / 86400;
calculates 0.
This commit is contained in:
Charles Krinke
2009-05-02 16:38:59 +00:00
parent 280d2cbf4a
commit 61d3c551fd

View File

@@ -112,7 +112,7 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins
// TODO:
// * This should probably be based on in-world time.
// * should probably move all these local variables to class members and constants
double time = DateTime.Now.TimeOfDay.Seconds / 86400;
double time = DateTime.Now.TimeOfDay.Seconds / 86400.0f;
double theta = time * (2 * Math.PI) * m_rateChange;