aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorCharles Krinke2009-05-02 16:38:59 +0000
committerCharles Krinke2009-05-02 16:38:59 +0000
commit61d3c551fdd3e46bbe9334fc88a9e30fc30d9764 (patch)
treeaa290e2b8d9c23507fa8ffae6220c074913f1d1a /OpenSim/Region
parentThank you kindly, BlueWall, for a patch that: (diff)
downloadopensim-SC_OLD-61d3c551fdd3e46bbe9334fc88a9e30fc30d9764.zip
opensim-SC_OLD-61d3c551fdd3e46bbe9334fc88a9e30fc30d9764.tar.gz
opensim-SC_OLD-61d3c551fdd3e46bbe9334fc88a9e30fc30d9764.tar.bz2
opensim-SC_OLD-61d3c551fdd3e46bbe9334fc88a9e30fc30d9764.tar.xz
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.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs b/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs
index 0d4a17d..41d2071 100644
--- a/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs
@@ -112,7 +112,7 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins
112 // TODO: 112 // TODO:
113 // * This should probably be based on in-world time. 113 // * This should probably be based on in-world time.
114 // * should probably move all these local variables to class members and constants 114 // * should probably move all these local variables to class members and constants
115 double time = DateTime.Now.TimeOfDay.Seconds / 86400; 115 double time = DateTime.Now.TimeOfDay.Seconds / 86400.0f;
116 116
117 double theta = time * (2 * Math.PI) * m_rateChange; 117 double theta = time * (2 * Math.PI) * m_rateChange;
118 118