mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user