aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-04-04 00:50:54 +0100
committerUbitUmarov2019-04-04 00:50:54 +0100
commit15b6d8c1477e6a294819bf5c0c510d909997fb8f (patch)
tree9e5b005f60b628d04878a40ca0b1e0778fc87bfa /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentchange avatars sending point (diff)
downloadopensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.zip
opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.gz
opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.bz2
opensim-SC-15b6d8c1477e6a294819bf5c0c510d909997fb8f.tar.xz
send agent view range to new child agents
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs9
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;