Remove setting of localID on newly created avatar. This solves the case of later viewers in other regions not seeing position updates for other avatars.
parent
c541b42f7e
commit
8256caad3f
|
@ -404,12 +404,6 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sp.IsSyncedAvatar = true;
|
sp.IsSyncedAvatar = true;
|
||||||
m_log.DebugFormat("{0}: Setting avatar local ID to {1}", LogHeader(), localID);
|
|
||||||
sp.LocalId = localID;
|
|
||||||
if (sp.PhysicsActor != null)
|
|
||||||
{
|
|
||||||
sp.PhysicsActor.LocalID = localID;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//RegionSyncMessage.HandlerDebug(LogHeader(), msg, String.Format("Added new remote avatar \"{0}\" ({1})", first + " " + last, agentID));
|
//RegionSyncMessage.HandlerDebug(LogHeader(), msg, String.Format("Added new remote avatar \"{0}\" ({1})", first + " " + last, agentID));
|
||||||
RegionSyncMessage.HandleSuccess(LogHeader(), msg, String.Format("Added new remote avatar \"{0}\" ({1})", first + " " + last, agentID));
|
RegionSyncMessage.HandleSuccess(LogHeader(), msg, String.Format("Added new remote avatar \"{0}\" ({1})", first + " " + last, agentID));
|
||||||
|
|
Loading…
Reference in New Issue