diff options
author | UbitUmarov | 2019-04-04 00:50:54 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-04 00:50:54 +0100 |
commit | 15b6d8c1477e6a294819bf5c0c510d909997fb8f (patch) | |
tree | 9e5b005f60b628d04878a40ca0b1e0778fc87bfa /OpenSim/Region/CoreModules/Framework/EntityTransfer | |
parent | change avatars sending point (diff) | |
download | opensim-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/CoreModules/Framework/EntityTransfer')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index fb2fd07..6b3e8c4 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1946,6 +1946,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1946 | agent.BaseFolder = UUID.Zero; | 1946 | agent.BaseFolder = UUID.Zero; |
1947 | agent.InventoryFolder = UUID.Zero; | 1947 | agent.InventoryFolder = UUID.Zero; |
1948 | agent.startpos = sp.AbsolutePosition + CalculateOffset(sp, region); | 1948 | agent.startpos = sp.AbsolutePosition + CalculateOffset(sp, region); |
1949 | agent.startfar = sp.DrawDistance; | ||
1949 | agent.child = true; | 1950 | agent.child = true; |
1950 | agent.Appearance = new AvatarAppearance(); | 1951 | agent.Appearance = new AvatarAppearance(); |
1951 | agent.Appearance.AvatarHeight = sp.Appearance.AvatarHeight; | 1952 | agent.Appearance.AvatarHeight = sp.Appearance.AvatarHeight; |
@@ -2105,7 +2106,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
2105 | agent.child = true; | 2106 | agent.child = true; |
2106 | agent.Appearance = new AvatarAppearance(); | 2107 | agent.Appearance = new AvatarAppearance(); |
2107 | agent.Appearance.AvatarHeight = sp.Appearance.AvatarHeight; | 2108 | agent.Appearance.AvatarHeight = sp.Appearance.AvatarHeight; |
2108 | 2109 | agent.startfar = sp.DrawDistance; | |
2109 | if (currentAgentCircuit != null) | 2110 | if (currentAgentCircuit != null) |
2110 | { | 2111 | { |
2111 | agent.ServiceURLs = currentAgentCircuit.ServiceURLs; | 2112 | agent.ServiceURLs = currentAgentCircuit.ServiceURLs; |