aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-11-09 22:12:27 +0000
committerUbitUmarov2016-11-09 22:12:27 +0000
commit53003db4cf8fe468a4c417db72c0dfd9b6c30404 (patch)
tree67add7e2cd01a7783c2aeb7b512fe2e484c4a690 /OpenSim/Region/Framework/Scenes/Scene.cs
parentmove UserAccountCache access locking to its methods and not callers. (diff)
downloadopensim-SC-53003db4cf8fe468a4c417db72c0dfd9b6c30404.zip
opensim-SC-53003db4cf8fe468a4c417db72c0dfd9b6c30404.tar.gz
opensim-SC-53003db4cf8fe468a4c417db72c0dfd9b6c30404.tar.bz2
opensim-SC-53003db4cf8fe468a4c417db72c0dfd9b6c30404.tar.xz
stop warning about integer division cast to float
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 168080f..ca32940 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -67,8 +67,6 @@ namespace OpenSim.Region.Framework.Scenes
67 67
68 #region Fields 68 #region Fields
69 69
70 public bool EmergencyMonitoring = false;
71
72 /// <summary> 70 /// <summary>
73 /// Show debug information about animations. 71 /// Show debug information about animations.
74 /// </summary> 72 /// </summary>
@@ -4606,7 +4604,8 @@ Label_GroupsDone:
4606 } 4604 }
4607 4605
4608 // TODO: This check should probably be in QueryAccess(). 4606 // TODO: This check should probably be in QueryAccess().
4609 ILandObject nearestParcel = GetNearestAllowedParcel(cAgentData.AgentID, RegionInfo.RegionSizeX / 2, RegionInfo.RegionSizeY / 2); 4607 ILandObject nearestParcel = GetNearestAllowedParcel(cAgentData.AgentID,
4608 (float)RegionInfo.RegionSizeX * 0.5f, (float)RegionInfo.RegionSizeY * 0.5f);
4610 if (nearestParcel == null) 4609 if (nearestParcel == null)
4611 { 4610 {
4612 m_log.InfoFormat( 4611 m_log.InfoFormat(