aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMic Bowman2011-07-07 09:12:57 -0700
committerMic Bowman2011-07-07 09:12:57 -0700
commite91861fff2fa4475da23e12fe1e89100c1c8a246 (patch)
treed3c605ba83c0a867027fe90be98763589b9d24c1
parentadd myself to contributors.txt (diff)
downloadopensim-SC_OLD-e91861fff2fa4475da23e12fe1e89100c1c8a246.zip
opensim-SC_OLD-e91861fff2fa4475da23e12fe1e89100c1c8a246.tar.gz
opensim-SC_OLD-e91861fff2fa4475da23e12fe1e89100c1c8a246.tar.bz2
opensim-SC_OLD-e91861fff2fa4475da23e12fe1e89100c1c8a246.tar.xz
Ensure that the max transfer distance is initialized correctly.
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index d54216a..457ee33 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -53,7 +53,13 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
53 /// <summary> 53 /// <summary>
54 /// The maximum distance, in standard region units (256m) that an agent is allowed to transfer. 54 /// The maximum distance, in standard region units (256m) that an agent is allowed to transfer.
55 /// </summary> 55 /// </summary>
56 public int MaxTransferDistance { get; set; } 56 private int m_MaxTransferDistance = 4095;
57 public int MaxTransferDistance
58 {
59 get { return m_MaxTransferDistance; }
60 set { m_MaxTransferDistance = value; }
61 }
62
57 63
58 protected bool m_Enabled = false; 64 protected bool m_Enabled = false;
59 protected Scene m_aScene; 65 protected Scene m_aScene;