mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user