diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2c20da6..be593ad 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1079,7 +1079,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1079 | Animator = new ScenePresenceAnimator(this); | 1079 | Animator = new ScenePresenceAnimator(this); |
1080 | Overrides = new MovementAnimationOverrides(); | 1080 | Overrides = new MovementAnimationOverrides(); |
1081 | PresenceType = type; | 1081 | PresenceType = type; |
1082 | DrawDistance = world.DefaultDrawDistance; | 1082 | m_drawDistance = client.StartFar; |
1083 | if(m_drawDistance > 32) | ||
1084 | { | ||
1085 | if(m_drawDistance > world.MaxDrawDistance) | ||
1086 | m_drawDistance = world.MaxDrawDistance; | ||
1087 | } | ||
1088 | else | ||
1089 | m_drawDistance = world.DefaultDrawDistance; | ||
1083 | RegionHandle = world.RegionInfo.RegionHandle; | 1090 | RegionHandle = world.RegionInfo.RegionHandle; |
1084 | ControllingClient = client; | 1091 | ControllingClient = client; |
1085 | Firstname = ControllingClient.FirstName; | 1092 | Firstname = ControllingClient.FirstName; |