diff options
author | Adam Frisby | 2007-05-12 15:19:03 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-12 15:19:03 +0000 |
commit | fd84968d05dd6168c07d4712a4e84961d7bae839 (patch) | |
tree | 97aec2c7c45992c47bc19e1a4a996ec10d1093e0 /OpenSim.Physics/Manager/PhysicsManager.cs | |
parent | You are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! (diff) | |
download | opensim-SC-fd84968d05dd6168c07d4712a4e84961d7bae839.zip opensim-SC-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.gz opensim-SC-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.bz2 opensim-SC-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.xz |
Only 193 warnings to go!
Diffstat (limited to 'OpenSim.Physics/Manager/PhysicsManager.cs')
-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 | ||