diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Physics/Manager/PhysicsManager.cs | 8 |
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; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | using System.Reflection; | 31 | using System.Reflection; |
32 | using Axiom.MathLib; | 32 | using Axiom.MathLib; |
33 | using OpenSim.Framework.Console; | ||
33 | 34 | ||
34 | namespace OpenSim.Physics.Manager | 35 | namespace 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 | ||