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
parent
280d2cbf4a
commit
61d3c551fd
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue