aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2007-07-24 03:59:32 +0000
committerAdam Frisby2007-07-24 03:59:32 +0000
commit3cbc1e011d8abcfefacc0c72429dd01656f49ef2 (patch)
treee4674ad62367657780de1d3b5c1743a9ea34ef4b /OpenSim/Region
parent*Added configuration plugin (OpenSim.Framework.Configuration.HTTP.dll) that f... (diff)
downloadopensim-SC_OLD-3cbc1e011d8abcfefacc0c72429dd01656f49ef2.zip
opensim-SC_OLD-3cbc1e011d8abcfefacc0c72429dd01656f49ef2.tar.gz
opensim-SC_OLD-3cbc1e011d8abcfefacc0c72429dd01656f49ef2.tar.bz2
opensim-SC_OLD-3cbc1e011d8abcfefacc0c72429dd01656f49ef2.tar.xz
* Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs2
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs4
3 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 3c2193e..fb7624a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -145,7 +145,7 @@ namespace OpenSim.Region.Environment.Scenes
145 } 145 }
146 catch (Exception e) 146 catch (Exception e)
147 { 147 {
148 MainLog.Instance.WriteLine(LogPriority.HIGH, "World.cs: Close() - Failed with exception " + e.ToString()); 148 MainLog.Instance.Error("SCENE", "World.cs: Close() - Failed with exception " + e.ToString());
149 } 149 }
150 } 150 }
151 151
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index a5bc999..a27cc0c 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -94,7 +94,7 @@ namespace SimpleApp
94 scene.AddEntity(fileObject); 94 scene.AddEntity(fileObject);
95 } 95 }
96 96
97 m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); 97 m_log.Notice("Press enter to quit.");
98 m_log.ReadLine(); 98 m_log.ReadLine();
99 } 99 }
100 100
diff --git a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
index cb77405..6ab4178 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsPluginManager.cs
@@ -54,12 +54,12 @@ namespace OpenSim.Physics.Manager
54 54
55 if(_plugins.ContainsKey(engineName)) 55 if(_plugins.ContainsKey(engineName))
56 { 56 {
57 MainLog.Instance.WriteLine(LogPriority.LOW,"creating "+engineName); 57 MainLog.Instance.Verbose("PHYSICS","creating "+engineName);
58 return _plugins[engineName].GetScene(); 58 return _plugins[engineName].GetScene();
59 } 59 }
60 else 60 else
61 { 61 {
62 MainLog.Instance.WriteLine(LogPriority.MEDIUM,"couldn't find physicsEngine: {0}",engineName); 62 MainLog.Instance.Warn("PHYSICS", "couldn't find physicsEngine: {0}", engineName);
63 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName)); 63 throw new ArgumentException(String.Format("couldn't find physicsEngine: {0}",engineName));
64 } 64 }
65 } 65 }