diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
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 | ||