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.
This commit is contained in:
Melanie Thielker
2008-11-10 20:58:24 +00:00
parent b044a0f139
commit 58e74b554f
3 changed files with 13 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ namespace OpenSim.Region.Environment.Scenes
get { return m_eventManager; }
}
protected SceneExternalChecks m_externalChecks;
public SceneExternalChecks ExternalChecks
{
@@ -88,6 +89,8 @@ namespace OpenSim.Region.Environment.Scenes
protected string m_datastore;
private uint m_nextAvatarLocalId = 8880000;
private AssetCache m_assetCache;
public AssetCache AssetCache
@@ -161,6 +164,11 @@ namespace OpenSim.Region.Environment.Scenes
get { return m_regInfo; }
}
public uint NextAvatarLocalId
{
get { return m_nextAvatarLocalId++; }
}
#region admin stuff
/// <summary>