Refactor avatar transfer so that the heavy (UpdateAgent) part is separated into

it's own sub-method
This commit is contained in:
Melanie
2012-09-04 03:14:39 +02:00
parent 7cfcca87c6
commit 056e66b3de
3 changed files with 120 additions and 104 deletions

View File

@@ -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);