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=6890master-beforevarregion
parent
5ddd818238
commit
d656ec2a07
|
@ -324,6 +324,7 @@ namespace OpenSim.Region.CoreModules
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
WindParamSet(plugin, param, value);
|
WindParamSet(plugin, param, value);
|
||||||
|
MainConsole.Instance.OutputFormat("{0} set to {1}", param, value);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -373,13 +374,11 @@ namespace OpenSim.Region.CoreModules
|
||||||
{
|
{
|
||||||
IWindModelPlugin windPlugin = m_availableWindPlugins[plugin];
|
IWindModelPlugin windPlugin = m_availableWindPlugins[plugin];
|
||||||
windPlugin.WindParamSet(param, value);
|
windPlugin.WindParamSet(param, value);
|
||||||
m_log.InfoFormat("[WIND] {0} set to {1}", param, value);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new Exception(String.Format("Could not find plugin {0}", plugin));
|
throw new Exception(String.Format("Could not find plugin {0}", plugin));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public float WindParamGet(string plugin, string param)
|
public float WindParamGet(string plugin, string param)
|
||||||
|
|
Loading…
Reference in New Issue