aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-06 21:00:15 +0000
committerJustin Clarke Casey2009-03-06 21:00:15 +0000
commitfc2c73d5c661cc28a037fd9217e8071159ff031f (patch)
tree3b8cc526c2539b7e84f0eb5ce585030886356038 /OpenSim/Region
parent* refactor: Remove GetLandOwner function from Scene (diff)
downloadopensim-SC_OLD-fc2c73d5c661cc28a037fd9217e8071159ff031f.zip
opensim-SC_OLD-fc2c73d5c661cc28a037fd9217e8071159ff031f.tar.gz
opensim-SC_OLD-fc2c73d5c661cc28a037fd9217e8071159ff031f.tar.bz2
opensim-SC_OLD-fc2c73d5c661cc28a037fd9217e8071159ff031f.tar.xz
* minor: remove some mono compiler warnings
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs2
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
3 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index 799d7df..ac65e82 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -63,7 +63,7 @@ namespace OpenSim
63 string masterfilePath = Path.Combine(Util.configDir(), masterFileName); 63 string masterfilePath = Path.Combine(Util.configDir(), masterFileName);
64 64
65 string iniDirName = startupConfig.GetString("inidirectory", "config"); 65 string iniDirName = startupConfig.GetString("inidirectory", "config");
66 string iniDirPath = Path.Combine(Util.configDir(), iniDirName); 66 //string iniDirPath = Path.Combine(Util.configDir(), iniDirName);
67 67
68 m_config = new OpenSimConfigSource(); 68 m_config = new OpenSimConfigSource();
69 m_config.Source = new IniConfigSource(); 69 m_config.Source = new IniConfigSource();
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 790dcb4..32b1258 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -188,8 +188,6 @@ namespace OpenSim
188 188
189 m_stats = StatsManager.StartCollectingSimExtraStats(); 189 m_stats = StatsManager.StartCollectingSimExtraStats();
190 190
191 LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_configSettings.LibrariesXMLFile);
192
193 // Create a ModuleLoader instance 191 // Create a ModuleLoader instance
194 m_moduleLoader = new ModuleLoader(m_config.Source); 192 m_moduleLoader = new ModuleLoader(m_config.Source);
195 193
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 67f6c29..7db9c07 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -98,7 +98,7 @@ namespace OpenSim.Region.Framework.Scenes
98 98
99 private bool m_startAnimationSet = false; 99 private bool m_startAnimationSet = false;
100 100
101 private Vector3 m_requestedSitOffset = new Vector3(); 101 //private Vector3 m_requestedSitOffset = new Vector3();
102 102
103 private Vector3 m_LastFinitePos = new Vector3(); 103 private Vector3 m_LastFinitePos = new Vector3();
104 104
@@ -1663,7 +1663,7 @@ namespace OpenSim.Region.Framework.Scenes
1663 m_nextSitAnimation = part.SitAnimation; 1663 m_nextSitAnimation = part.SitAnimation;
1664 } 1664 }
1665 m_requestedSitTargetID = part.LocalId; 1665 m_requestedSitTargetID = part.LocalId;
1666 m_requestedSitOffset = offset; 1666 //m_requestedSitOffset = offset;
1667 } 1667 }
1668 else 1668 else
1669 { 1669 {
@@ -1693,12 +1693,13 @@ namespace OpenSim.Region.Framework.Scenes
1693 if (part != null) 1693 if (part != null)
1694 { 1694 {
1695 m_requestedSitTargetID = part.LocalId; 1695 m_requestedSitTargetID = part.LocalId;
1696 m_requestedSitOffset = offset; 1696 //m_requestedSitOffset = offset;
1697 } 1697 }
1698 else 1698 else
1699 { 1699 {
1700 m_log.Warn("Sit requested on unknown object: " + targetID.ToString()); 1700 m_log.Warn("Sit requested on unknown object: " + targetID.ToString());
1701 } 1701 }
1702
1702 SendSitResponse(remoteClient, targetID, offset); 1703 SendSitResponse(remoteClient, targetID, offset);
1703 } 1704 }
1704 1705