diff options
author | Melanie Thielker | 2008-11-10 20:58:24 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-10 20:58:24 +0000 |
commit | 58e74b554f233c0848dddc93f33aea49d8246a82 (patch) | |
tree | 8966e55e15ae161bd968aa27a616e920e4a4debf /OpenSim/Region/Environment/Scenes/SceneBase.cs | |
parent | * refactor: Make xml (orig format) loading method reuse existing set root par... (diff) | |
download | opensim-SC-58e74b554f233c0848dddc93f33aea49d8246a82.zip opensim-SC-58e74b554f233c0848dddc93f33aea49d8246a82.tar.gz opensim-SC-58e74b554f233c0848dddc93f33aea49d8246a82.tar.bz2 opensim-SC-58e74b554f233c0848dddc93f33aea49d8246a82.tar.xz |
Restore the independent LocalID numbering for avatars. Fixes an issue where
it becomes impossible to cross back into a region you came from, or freeze
several seconds after region crossings.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneBase.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs index bba31f7..67e23b5 100644 --- a/OpenSim/Region/Environment/Scenes/SceneBase.cs +++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs | |||
@@ -80,6 +80,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
80 | get { return m_eventManager; } | 80 | get { return m_eventManager; } |
81 | } | 81 | } |
82 | 82 | ||
83 | |||
83 | protected SceneExternalChecks m_externalChecks; | 84 | protected SceneExternalChecks m_externalChecks; |
84 | public SceneExternalChecks ExternalChecks | 85 | public SceneExternalChecks ExternalChecks |
85 | { | 86 | { |
@@ -88,6 +89,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
88 | 89 | ||
89 | protected string m_datastore; | 90 | protected string m_datastore; |
90 | 91 | ||
92 | private uint m_nextAvatarLocalId = 8880000; | ||
93 | |||
91 | private AssetCache m_assetCache; | 94 | private AssetCache m_assetCache; |
92 | 95 | ||
93 | public AssetCache AssetCache | 96 | public AssetCache AssetCache |
@@ -161,6 +164,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
161 | get { return m_regInfo; } | 164 | get { return m_regInfo; } |
162 | } | 165 | } |
163 | 166 | ||
167 | public uint NextAvatarLocalId | ||
168 | { | ||
169 | get { return m_nextAvatarLocalId++; } | ||
170 | } | ||
171 | |||
164 | #region admin stuff | 172 | #region admin stuff |
165 | 173 | ||
166 | /// <summary> | 174 | /// <summary> |