aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-05 12:55:12 +0000
committerAdam Frisby2007-06-05 12:55:12 +0000
commit1e716260c8166005d3bd33f4cda68502a09994bb (patch)
tree457d68f241ca0d8b28e03fdcd1a93f6aaf75ec44 /OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
parent* Removing dead comments (diff)
downloadopensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.zip
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.gz
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.bz2
opensim-SC_OLD-1e716260c8166005d3bd33f4cda68502a09994bb.tar.xz
* Removed MainConsole.Instance.WriteLine completely
* Now exists MainConsole.Instance.Error/Warn/Notice/Verbose -- use those instead * Removed some instances of System.Console use - aiming to depreciate this in favour of MainConsole completely.
Diffstat (limited to 'OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs')
-rw-r--r--OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs b/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
index 291fc7e..2d96c4d 100644
--- a/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
+++ b/OpenSim/OpenSim.Physics/Manager/PhysicsManager.cs
@@ -55,12 +55,12 @@ namespace OpenSim.Physics.Manager
55 55
56 if(_plugins.ContainsKey(engineName)) 56 if(_plugins.ContainsKey(engineName))
57 { 57 {
58 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"creating "+engineName); 58 MainConsole.Instance.Notice("creating "+engineName);
59 return _plugins[engineName].GetScene(); 59 return _plugins[engineName].GetScene();
60 } 60 }
61 else 61 else
62 { 62 {
63 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName); 63 MainConsole.Instance.Warn("couldn't find physicsEngine: {0}",engineName);
64 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName)); 64 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName));
65 } 65 }
66 } 66 }