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.
0.6.5-rc1
Charles Krinke 2009-05-02 16:38:59 +00:00
parent 280d2cbf4a
commit 61d3c551fd
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins
// TODO: // TODO:
// * This should probably be based on in-world time. // * This should probably be based on in-world time.
// * should probably move all these local variables to class members and constants // * 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; double theta = time * (2 * Math.PI) * m_rateChange;