aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Physics/Manager/PhysicsManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.Physics/Manager/PhysicsManager.cs')
-rw-r--r--OpenSim.Physics/Manager/PhysicsManager.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim.Physics/Manager/PhysicsManager.cs b/OpenSim.Physics/Manager/PhysicsManager.cs
index 616682b..291fc7e 100644
--- a/OpenSim.Physics/Manager/PhysicsManager.cs
+++ b/OpenSim.Physics/Manager/PhysicsManager.cs
@@ -30,6 +30,7 @@ using System.Collections;
30using System.IO; 30using System.IO;
31using System.Reflection; 31using System.Reflection;
32using Axiom.MathLib; 32using Axiom.MathLib;
33using OpenSim.Framework.Console;
33 34
34namespace OpenSim.Physics.Manager 35namespace OpenSim.Physics.Manager
35{ 36{
@@ -54,14 +55,13 @@ namespace OpenSim.Physics.Manager
54 55
55 if(_plugins.ContainsKey(engineName)) 56 if(_plugins.ContainsKey(engineName))
56 { 57 {
57 OpenSim.Framework.Console.MainConsole.Instance.WriteLine("creating "+engineName); 58 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.LOW,"creating "+engineName);
58 return _plugins[engineName].GetScene(); 59 return _plugins[engineName].GetScene();
59 } 60 }
60 else 61 else
61 { 62 {
62 string error = String.Format("couldn't find physicsEngine: {0}", engineName); 63 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName);
63 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(error); 64 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName));
64 throw new ArgumentException(error);
65 } 65 }
66 } 66 }
67 67