diff options
author | Justin Clark-Casey (justincc) | 2013-12-14 01:07:37 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-12-14 01:07:37 +0000 |
commit | d656ec2a0766cf2a6ff6ad9cd8e2d42ada547d6c (patch) | |
tree | 5dde5a3caf6d60df9e7b8cc83b16283529b82fa2 | |
parent | minor: Make wind console commands print out to console rather than log (diff) | |
download | opensim-SC-d656ec2a0766cf2a6ff6ad9cd8e2d42ada547d6c.zip opensim-SC-d656ec2a0766cf2a6ff6ad9cd8e2d42ada547d6c.tar.gz opensim-SC-d656ec2a0766cf2a6ff6ad9cd8e2d42ada547d6c.tar.bz2 opensim-SC-d656ec2a0766cf2a6ff6ad9cd8e2d42ada547d6c.tar.xz |
Make WindParamSet success a console message rather than a log message.
This effectively disables the log message as requested by http://opensimulator.org/mantis/view.php?id=6890
-rw-r--r-- | OpenSim/Region/CoreModules/World/Wind/WindModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs index dad8bcb..35014f5 100644 --- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs +++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs | |||
@@ -324,6 +324,7 @@ namespace OpenSim.Region.CoreModules | |||
324 | try | 324 | try |
325 | { | 325 | { |
326 | WindParamSet(plugin, param, value); | 326 | WindParamSet(plugin, param, value); |
327 | MainConsole.Instance.OutputFormat("{0} set to {1}", param, value); | ||
327 | } | 328 | } |
328 | catch (Exception e) | 329 | catch (Exception e) |
329 | { | 330 | { |
@@ -373,13 +374,11 @@ namespace OpenSim.Region.CoreModules | |||
373 | { | 374 | { |
374 | IWindModelPlugin windPlugin = m_availableWindPlugins[plugin]; | 375 | IWindModelPlugin windPlugin = m_availableWindPlugins[plugin]; |
375 | windPlugin.WindParamSet(param, value); | 376 | windPlugin.WindParamSet(param, value); |
376 | m_log.InfoFormat("[WIND] {0} set to {1}", param, value); | ||
377 | } | 377 | } |
378 | else | 378 | else |
379 | { | 379 | { |
380 | throw new Exception(String.Format("Could not find plugin {0}", plugin)); | 380 | throw new Exception(String.Format("Could not find plugin {0}", plugin)); |
381 | } | 381 | } |
382 | |||
383 | } | 382 | } |
384 | 383 | ||
385 | public float WindParamGet(string plugin, string param) | 384 | public float WindParamGet(string plugin, string param) |