diff options
author | Justin Clark-Casey (justincc) | 2011-11-15 20:26:42 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-15 20:26:42 +0000 |
commit | 828e4a5b093c6a67302776137fc0bdbcfded4c9b (patch) | |
tree | 2e23acc14ca786cb9f5484004222e03829bdfc60 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Instead of having scene add/remove collision events directly to the OdeScene ... (diff) | |
download | opensim-SC-828e4a5b093c6a67302776137fc0bdbcfded4c9b.zip opensim-SC-828e4a5b093c6a67302776137fc0bdbcfded4c9b.tar.gz opensim-SC-828e4a5b093c6a67302776137fc0bdbcfded4c9b.tar.bz2 opensim-SC-828e4a5b093c6a67302776137fc0bdbcfded4c9b.tar.xz |
Add comments about trying to avoid synchronous work off the EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 189394e..5587073 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -865,6 +865,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
865 | /// avatar is actual in the sim. They can perform all actions. | 865 | /// avatar is actual in the sim. They can perform all actions. |
866 | /// This change is made whenever an avatar enters a region, whether by crossing over from a neighbouring sim, | 866 | /// This change is made whenever an avatar enters a region, whether by crossing over from a neighbouring sim, |
867 | /// teleporting in or on initial login. | 867 | /// teleporting in or on initial login. |
868 | /// | ||
869 | /// This method is on the critical path for transferring an avatar from one region to another. Delay here | ||
870 | /// delays that crossing. | ||
868 | /// </summary> | 871 | /// </summary> |
869 | public void MakeRootAgent(Vector3 pos, bool isFlying) | 872 | public void MakeRootAgent(Vector3 pos, bool isFlying) |
870 | { | 873 | { |