aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-04 19:44:28 +0000
committerJustin Clark-Casey (justincc)2009-11-04 19:44:28 +0000
commit9dd5d63495cac6717057b47f3ac9ef89685281cc (patch)
tree4d60bad02c69707afbb73f93b87bc5c47694b236 /OpenSim/Region/Framework/Scenes
parentAdd an overload to OutPacket as per jhurliman. Switch hacky workaround (diff)
downloadopensim-SC_OLD-9dd5d63495cac6717057b47f3ac9ef89685281cc.zip
opensim-SC_OLD-9dd5d63495cac6717057b47f3ac9ef89685281cc.tar.gz
opensim-SC_OLD-9dd5d63495cac6717057b47f3ac9ef89685281cc.tar.bz2
opensim-SC_OLD-9dd5d63495cac6717057b47f3ac9ef89685281cc.tar.xz
minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs14
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs10
3 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs
index 244ac3b..7a66d23 100644
--- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs
+++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs
@@ -77,13 +77,13 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid
77 77
78 #region Internal functions 78 #region Internal functions
79 79
80 private string UserAssetURL(UUID userID) 80// private string UserAssetURL(UUID userID)
81 { 81// {
82 CachedUserInfo uinfo = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(userID); 82// CachedUserInfo uinfo = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(userID);
83 if (uinfo != null) 83// if (uinfo != null)
84 return (uinfo.UserProfile.UserAssetURI == "") ? null : uinfo.UserProfile.UserAssetURI; 84// return (uinfo.UserProfile.UserAssetURI == "") ? null : uinfo.UserProfile.UserAssetURI;
85 return null; 85// return null;
86 } 86// }
87 87
88// private string UserInventoryURL(UUID userID) 88// private string UserInventoryURL(UUID userID)
89// { 89// {
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a6ee40a..093ca3e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1043,7 +1043,7 @@ namespace OpenSim.Region.Framework.Scenes
1043 TimeSpan SinceLastFrame = DateTime.UtcNow - m_lastupdate; 1043 TimeSpan SinceLastFrame = DateTime.UtcNow - m_lastupdate;
1044 physicsFPS = 0f; 1044 physicsFPS = 0f;
1045 1045
1046 maintc = maintc = otherMS = Environment.TickCount; 1046 maintc = otherMS = Environment.TickCount;
1047 int tmpFrameMS = maintc; 1047 int tmpFrameMS = maintc;
1048 1048
1049 // Increment the frame counter 1049 // Increment the frame counter
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 6c0d9f2..124f4c0 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -76,7 +76,7 @@ namespace OpenSim.Region.Framework.Scenes
76 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 76 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
77 77
78 private static readonly byte[] BAKE_INDICES = new byte[] { 8, 9, 10, 11, 19, 20 }; 78 private static readonly byte[] BAKE_INDICES = new byte[] { 8, 9, 10, 11, 19, 20 };
79 private static readonly byte[] DEFAULT_TEXTURE = AvatarAppearance.GetDefaultTexture().GetBytes(); 79// private static readonly byte[] DEFAULT_TEXTURE = AvatarAppearance.GetDefaultTexture().GetBytes();
80 private static readonly Array DIR_CONTROL_FLAGS = Enum.GetValues(typeof(Dir_ControlFlags)); 80 private static readonly Array DIR_CONTROL_FLAGS = Enum.GetValues(typeof(Dir_ControlFlags));
81 private static readonly Vector3 HEAD_ADJUSTMENT = new Vector3(0f, 0f, 0.3f); 81 private static readonly Vector3 HEAD_ADJUSTMENT = new Vector3(0f, 0f, 0.3f);
82 /// <summary> 82 /// <summary>
@@ -181,7 +181,7 @@ namespace OpenSim.Region.Framework.Scenes
181 private byte m_state; 181 private byte m_state;
182 182
183 //Reuse the Vector3 instead of creating a new one on the UpdateMovement method 183 //Reuse the Vector3 instead of creating a new one on the UpdateMovement method
184 private Vector3 movementvector; 184// private Vector3 movementvector;
185 185
186 private bool m_autopilotMoving; 186 private bool m_autopilotMoving;
187 private Vector3 m_autoPilotTarget; 187 private Vector3 m_autoPilotTarget;
@@ -2068,7 +2068,7 @@ namespace OpenSim.Region.Framework.Scenes
2068 if (heldDown) { move.Z -= 1; } 2068 if (heldDown) { move.Z -= 1; }
2069 2069
2070 // Is the avatar trying to move? 2070 // Is the avatar trying to move?
2071 bool moving = (move != Vector3.Zero); 2071// bool moving = (move != Vector3.Zero);
2072 bool jumping = m_animTickJump != 0; 2072 bool jumping = m_animTickJump != 0;
2073 2073
2074 #endregion Inputs 2074 #endregion Inputs
@@ -2320,7 +2320,7 @@ namespace OpenSim.Region.Framework.Scenes
2320 2320
2321 if (m_isChildAgent == false) 2321 if (m_isChildAgent == false)
2322 { 2322 {
2323 PhysicsActor actor = m_physicsActor; 2323// PhysicsActor actor = m_physicsActor;
2324 2324
2325 // NOTE: Velocity is not the same as m_velocity. Velocity will attempt to 2325 // NOTE: Velocity is not the same as m_velocity. Velocity will attempt to
2326 // grab the latest PhysicsActor velocity, whereas m_velocity is often 2326 // grab the latest PhysicsActor velocity, whereas m_velocity is often
@@ -3256,7 +3256,7 @@ namespace OpenSim.Region.Framework.Scenes
3256 Vector3 force = m_forceToApply.Value; 3256 Vector3 force = m_forceToApply.Value;
3257 3257
3258 m_updateflag = true; 3258 m_updateflag = true;
3259 movementvector = force; 3259// movementvector = force;
3260 Velocity = force; 3260 Velocity = force;
3261 3261
3262 m_forceToApply = null; 3262 m_forceToApply = null;