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 | |
parent | You are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! (diff) | |
download | opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.zip opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.gz opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.bz2 opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.xz |
Only 193 warnings to go!
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Physics/Manager/PhysicsManager.cs | 8 | ||||
-rw-r--r-- | OpenSim.Physics/Manager/PhysicsScene.cs | 9 |
2 files changed, 9 insertions, 8 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 | ||
diff --git a/OpenSim.Physics/Manager/PhysicsScene.cs b/OpenSim.Physics/Manager/PhysicsScene.cs index 0b3dfd2..b79cc46 100644 --- a/OpenSim.Physics/Manager/PhysicsScene.cs +++ b/OpenSim.Physics/Manager/PhysicsScene.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenSim.Framework.Console; | ||
31 | 32 | ||
32 | namespace OpenSim.Physics.Manager | 33 | namespace OpenSim.Physics.Manager |
33 | { | 34 | { |
@@ -65,13 +66,13 @@ namespace OpenSim.Physics.Manager | |||
65 | 66 | ||
66 | public override PhysicsActor AddAvatar(PhysicsVector position) | 67 | public override PhysicsActor AddAvatar(PhysicsVector position) |
67 | { | 68 | { |
68 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : AddAvatar({0})", position); | 69 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE,"NullPhysicsScene : AddAvatar({0})", position); |
69 | return PhysicsActor.Null; | 70 | return PhysicsActor.Null; |
70 | } | 71 | } |
71 | 72 | ||
72 | public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) | 73 | public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) |
73 | { | 74 | { |
74 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : AddPrim({0},{1})", position, size); | 75 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : AddPrim({0},{1})", position, size); |
75 | return PhysicsActor.Null; | 76 | return PhysicsActor.Null; |
76 | } | 77 | } |
77 | 78 | ||
@@ -84,12 +85,12 @@ namespace OpenSim.Physics.Manager | |||
84 | 85 | ||
85 | public override void GetResults() | 86 | public override void GetResults() |
86 | { | 87 | { |
87 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : GetResults()"); | 88 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : GetResults()"); |
88 | } | 89 | } |
89 | 90 | ||
90 | public override void SetTerrain(float[] heightMap) | 91 | public override void SetTerrain(float[] heightMap) |
91 | { | 92 | { |
92 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : SetTerrain({0} items)", heightMap.Length); | 93 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : SetTerrain({0} items)", heightMap.Length); |
93 | } | 94 | } |
94 | 95 | ||
95 | public override void DeleteTerrain() | 96 | public override void DeleteTerrain() |