aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-07 18:49:15 +0000
committerUbitUmarov2017-01-07 18:49:15 +0000
commiteedc37794e47159c0f8876ad3e37b69b9448ea98 (patch)
tree0dd0fa40552d5298d3ea6bfad6a196456302a0cc /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentreplace godlevel compares by the new faster bool isViewerUIGod (diff)
downloadopensim-SC-eedc37794e47159c0f8876ad3e37b69b9448ea98.zip
opensim-SC-eedc37794e47159c0f8876ad3e37b69b9448ea98.tar.gz
opensim-SC-eedc37794e47159c0f8876ad3e37b69b9448ea98.tar.bz2
opensim-SC-eedc37794e47159c0f8876ad3e37b69b9448ea98.tar.xz
rename same more variables to make their meaning more clear
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f851179..c38e8fc 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2226,7 +2226,7 @@ namespace OpenSim.Region.Framework.Scenes
2226 } 2226 }
2227 // let updates be sent, with some delay 2227 // let updates be sent, with some delay
2228 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000; 2228 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000;
2229 m_lastChildAgentUpdateGodLevel = GodController.GodLevel; 2229 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
2230 m_lastChildAgentUpdateDrawDistance = DrawDistance; 2230 m_lastChildAgentUpdateDrawDistance = DrawDistance;
2231 m_lastChildAgentUpdatePosition = AbsolutePosition; 2231 m_lastChildAgentUpdatePosition = AbsolutePosition;
2232 m_childUpdatesBusy = false; // allow them 2232 m_childUpdatesBusy = false; // allow them
@@ -4192,7 +4192,7 @@ namespace OpenSim.Region.Framework.Scenes
4192 return; 4192 return;
4193 4193
4194 bool doUpdate = false; 4194 bool doUpdate = false;
4195 if(m_lastChildAgentUpdateGodLevel != GodController.GodLevel) 4195 if(m_lastChildAgentUpdateGodLevel != GodController.ViwerUIGodLevel)
4196 doUpdate = true; 4196 doUpdate = true;
4197 4197
4198 if(!doUpdate && Math.Abs(DrawDistance - m_lastChildAgentUpdateDrawDistance) > 32.0f) 4198 if(!doUpdate && Math.Abs(DrawDistance - m_lastChildAgentUpdateDrawDistance) > 32.0f)
@@ -4209,7 +4209,7 @@ namespace OpenSim.Region.Framework.Scenes
4209 { 4209 {
4210 m_childUpdatesBusy = true; 4210 m_childUpdatesBusy = true;
4211 m_lastChildAgentUpdatePosition = pos; 4211 m_lastChildAgentUpdatePosition = pos;
4212 m_lastChildAgentUpdateGodLevel = GodController.GodLevel; 4212 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
4213 m_lastChildAgentUpdateDrawDistance = DrawDistance; 4213 m_lastChildAgentUpdateDrawDistance = DrawDistance;
4214// m_lastChildAgentUpdateCamPosition = CameraPosition; 4214// m_lastChildAgentUpdateCamPosition = CameraPosition;
4215 4215