diff options
author | Jeff Ames | 2009-04-04 07:32:41 +0000 |
---|---|---|
committer | Jeff Ames | 2009-04-04 07:32:41 +0000 |
commit | 5cf7b784cec3bd8b3bdf643b05b27b1f10e10417 (patch) | |
tree | 901364c9e3d5dc86c220e73481c0052052ef3d57 /OpenSim/Region/CoreModules/World/Wind/WindModule.cs | |
parent | * Removes IObject.Position, IObject.Rotation from IObject (diff) | |
download | opensim-SC_OLD-5cf7b784cec3bd8b3bdf643b05b27b1f10e10417.zip opensim-SC_OLD-5cf7b784cec3bd8b3bdf643b05b27b1f10e10417.tar.gz opensim-SC_OLD-5cf7b784cec3bd8b3bdf643b05b27b1f10e10417.tar.bz2 opensim-SC_OLD-5cf7b784cec3bd8b3bdf643b05b27b1f10e10417.tar.xz |
Add copyright headers, formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Wind/WindModule.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs index 52df3bc..700fe2f 100644 --- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs +++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs | |||
@@ -225,9 +225,8 @@ namespace OpenSim.Region.CoreModules | |||
225 | { | 225 | { |
226 | ValidateConsole(); | 226 | ValidateConsole(); |
227 | 227 | ||
228 | if( (cmdparams.Length != 4) | 228 | if ((cmdparams.Length != 4) |
229 | || !cmdparams[1].Equals("base") | 229 | || !cmdparams[1].Equals("base")) |
230 | ) | ||
231 | { | 230 | { |
232 | m_log.Info("[WIND] Invalid parameters to change parameters for Wind module base, usage: wind base <parameter> <value>"); | 231 | m_log.Info("[WIND] Invalid parameters to change parameters for Wind module base, usage: wind base <parameter> <value>"); |
233 | return; | 232 | return; |
@@ -452,14 +451,11 @@ namespace OpenSim.Region.CoreModules | |||
452 | 451 | ||
453 | private void GenWindPos() | 452 | private void GenWindPos() |
454 | { | 453 | { |
455 | if( m_activeWindPlugin != null ) | 454 | if (m_activeWindPlugin != null) |
456 | { | 455 | { |
457 | // Tell Wind Plugin to update it's wind data | 456 | // Tell Wind Plugin to update it's wind data |
458 | m_activeWindPlugin.WindUpdate(m_frame); | 457 | m_activeWindPlugin.WindUpdate(m_frame); |
459 | } | 458 | } |
460 | } | 459 | } |
461 | |||
462 | |||
463 | |||
464 | } | 460 | } |
465 | } | 461 | } |