mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user