aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Wind
diff options
context:
space:
mode:
authorUbitUmarov2019-10-22 12:39:50 +0100
committerUbitUmarov2019-10-22 12:39:50 +0100
commitda0a8d6c43054b1b6b7487fc5fc78f03af349c02 (patch)
tree06c005fd81f0ccfe12a57337873adc9e45080ede /OpenSim/Region/CoreModules/World/Wind
parentremove some useless NULL arguments (diff)
downloadopensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.zip
opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.gz
opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.bz2
opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.xz
remove some more useless NULL arguments
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Wind')
-rwxr-xr-xOpenSim/Region/CoreModules/World/Wind/WindModule.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
index c9580d2..51faa0e 100755
--- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
@@ -265,7 +265,7 @@ namespace OpenSim.Region.CoreModules
265 else 265 else
266 { 266 {
267 MainConsole.Instance.Output( 267 MainConsole.Instance.Output(
268 "Invalid value {0} specified for {1}", null, cmdparams[3], cmdparams[2]); 268 "Invalid value {0} specified for {1}", cmdparams[3], cmdparams[2]);
269 269
270 return; 270 return;
271 } 271 }
@@ -276,7 +276,7 @@ namespace OpenSim.Region.CoreModules
276 276
277 if (desiredPlugin.Equals(m_activeWindPlugin.Name)) 277 if (desiredPlugin.Equals(m_activeWindPlugin.Name))
278 { 278 {
279 MainConsole.Instance.Output("Wind model plugin {0} is already active", null, cmdparams[3]); 279 MainConsole.Instance.Output("Wind model plugin {0} is already active", cmdparams[3]);
280 280
281 return; 281 return;
282 } 282 }
@@ -285,11 +285,11 @@ namespace OpenSim.Region.CoreModules
285 { 285 {
286 m_activeWindPlugin = m_availableWindPlugins[cmdparams[3]]; 286 m_activeWindPlugin = m_availableWindPlugins[cmdparams[3]];
287 287
288 MainConsole.Instance.Output("{0} wind model plugin now active", null, m_activeWindPlugin.Name); 288 MainConsole.Instance.Output("{0} wind model plugin now active", m_activeWindPlugin.Name);
289 } 289 }
290 else 290 else
291 { 291 {
292 MainConsole.Instance.Output("Could not find wind model plugin {0}", null, desiredPlugin); 292 MainConsole.Instance.Output("Could not find wind model plugin {0}", desiredPlugin);
293 } 293 }
294 break; 294 break;
295 } 295 }
@@ -317,17 +317,17 @@ namespace OpenSim.Region.CoreModules
317 { 317 {
318 if (!float.TryParse(cmdparams[3], out value)) 318 if (!float.TryParse(cmdparams[3], out value))
319 { 319 {
320 MainConsole.Instance.Output("Invalid value {0}", null, cmdparams[3]); 320 MainConsole.Instance.Output("Invalid value {0}", cmdparams[3]);
321 } 321 }
322 322
323 try 323 try
324 { 324 {
325 WindParamSet(plugin, param, value); 325 WindParamSet(plugin, param, value);
326 MainConsole.Instance.Output("{0} set to {1}", null, param, value); 326 MainConsole.Instance.Output("{0} set to {1}", param, value);
327 } 327 }
328 catch (Exception e) 328 catch (Exception e)
329 { 329 {
330 MainConsole.Instance.Output("{0}", null, e.Message); 330 MainConsole.Instance.Output("{0}", e.Message);
331 } 331 }
332 } 332 }
333 else 333 else
@@ -335,11 +335,11 @@ namespace OpenSim.Region.CoreModules
335 try 335 try
336 { 336 {
337 value = WindParamGet(plugin, param); 337 value = WindParamGet(plugin, param);
338 MainConsole.Instance.Output("{0} : {1}", null, param, value); 338 MainConsole.Instance.Output("{0} : {1}", param, value);
339 } 339 }
340 catch (Exception e) 340 catch (Exception e)
341 { 341 {
342 MainConsole.Instance.Output("{0}", null, e.Message); 342 MainConsole.Instance.Output("{0}", e.Message);
343 } 343 }
344 } 344 }
345 345