aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Physics/Manager/PhysicsManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-12 15:19:03 +0000
committerAdam Frisby2007-05-12 15:19:03 +0000
commitfd84968d05dd6168c07d4712a4e84961d7bae839 (patch)
tree97aec2c7c45992c47bc19e1a4a996ec10d1093e0 /OpenSim.Physics/Manager/PhysicsManager.cs
parentYou are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! (diff)
downloadopensim-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.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