mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things)
This commit is contained in:
@@ -145,7 +145,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MainLog.Instance.WriteLine(LogPriority.HIGH, "World.cs: Close() - Failed with exception " + e.ToString());
|
||||
MainLog.Instance.Error("SCENE", "World.cs: Close() - Failed with exception " + e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace SimpleApp
|
||||
scene.AddEntity(fileObject);
|
||||
}
|
||||
|
||||
m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit.");
|
||||
m_log.Notice("Press enter to quit.");
|
||||
m_log.ReadLine();
|
||||
}
|
||||
|
||||
|
||||
@@ -54,12 +54,12 @@ namespace OpenSim.Physics.Manager
|
||||
|
||||
if(_plugins.ContainsKey(engineName))
|
||||
{
|
||||
MainLog.Instance.WriteLine(LogPriority.LOW,"creating "+engineName);
|
||||
MainLog.Instance.Verbose("PHYSICS","creating "+engineName);
|
||||
return _plugins[engineName].GetScene();
|
||||
}
|
||||
else
|
||||
{
|
||||
MainLog.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName);
|
||||
MainLog.Instance.Warn("PHYSICS", "couldn't find physicsEngine: {0}", engineName);
|
||||
throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user