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
This commit is contained in:
Justin Clark-Casey (justincc)
2013-12-14 01:07:37 +00:00
parent 5ddd818238
commit d656ec2a07

View File

@@ -324,6 +324,7 @@ namespace OpenSim.Region.CoreModules
try
{
WindParamSet(plugin, param, value);
MainConsole.Instance.OutputFormat("{0} set to {1}", param, value);
}
catch (Exception e)
{
@@ -373,13 +374,11 @@ namespace OpenSim.Region.CoreModules
{
IWindModelPlugin windPlugin = m_availableWindPlugins[plugin];
windPlugin.WindParamSet(param, value);
m_log.InfoFormat("[WIND] {0} set to {1}", param, value);
}
else
{
throw new Exception(String.Format("Could not find plugin {0}", plugin));
}
}
public float WindParamGet(string plugin, string param)