diff options
author | Melanie Thielker | 2010-05-06 02:02:12 +0200 |
---|---|---|
committer | Melanie | 2010-05-05 23:41:57 +0100 |
commit | 2b48ed60ecf45e4ec07af1cadbb6325c3e678a13 (patch) | |
tree | 5e0b65431fdc30a2bc9a01b7b6c864f2b91e6b48 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Stab a test fail (diff) | |
download | opensim-SC_OLD-2b48ed60ecf45e4ec07af1cadbb6325c3e678a13.zip opensim-SC_OLD-2b48ed60ecf45e4ec07af1cadbb6325c3e678a13.tar.gz opensim-SC_OLD-2b48ed60ecf45e4ec07af1cadbb6325c3e678a13.tar.bz2 opensim-SC_OLD-2b48ed60ecf45e4ec07af1cadbb6325c3e678a13.tar.xz |
Remove the m_Viewer variable and make the property a shortcut to the
proper field in AgentCircuitData instead
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index fb66fcd..30eafd7 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -218,8 +218,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
218 | private bool m_followCamAuto; | 218 | private bool m_followCamAuto; |
219 | 219 | ||
220 | private int m_movementUpdateCount; | 220 | private int m_movementUpdateCount; |
221 | private string m_Viewer = String.Empty; | ||
222 | |||
223 | private const int NumMovementsBetweenRayCast = 5; | 221 | private const int NumMovementsBetweenRayCast = 5; |
224 | 222 | ||
225 | private bool CameraConstraintActive; | 223 | private bool CameraConstraintActive; |
@@ -654,8 +652,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
654 | 652 | ||
655 | public string Viewer | 653 | public string Viewer |
656 | { | 654 | { |
657 | get { return m_Viewer; } | 655 | get { return m_scene.AuthenticateHandler.GetAgentCircuitData(ControllingClient.CircuitCode).Viewer; } |
658 | set { m_Viewer = value; } | ||
659 | } | 656 | } |
660 | 657 | ||
661 | #endregion | 658 | #endregion |