mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Refactor avatar transfer so that the heavy (UpdateAgent) part is separated into
it's own sub-method
This commit is contained in:
@@ -581,7 +581,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
av.IsInTransit = true;
|
||||
|
||||
CrossAgentToNewRegionDelegate d = entityTransfer.CrossAgentToNewRegionAsync;
|
||||
d.BeginInvoke(av, val, x, y, destination, av.Flying, version, CrossAgentToNewRegionCompleted, d);
|
||||
d.BeginInvoke(av, val, destination, av.Flying, version, CrossAgentToNewRegionCompleted, d);
|
||||
}
|
||||
else
|
||||
m_log.DebugFormat("[SCENE OBJECT]: Crossing avatar alreasy in transit {0} to {1}", av.Name, val);
|
||||
|
||||
Reference in New Issue
Block a user