aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-08 19:25:24 +0000
committerJustin Clark-Casey (justincc)2011-12-08 19:25:24 +0000
commit0e265889dd909d23b45175ec0e6f2d52725c008c (patch)
tree3f9d117d0f7a6a2303d0c562137abf198d072f96 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentminor: remove some mono compiler warnings (diff)
downloadopensim-SC_OLD-0e265889dd909d23b45175ec0e6f2d52725c008c.zip
opensim-SC_OLD-0e265889dd909d23b45175ec0e6f2d52725c008c.tar.gz
opensim-SC_OLD-0e265889dd909d23b45175ec0e6f2d52725c008c.tar.bz2
opensim-SC_OLD-0e265889dd909d23b45175ec0e6f2d52725c008c.tar.xz
Remove unnecessary AgentCircuitData null check from Scene.AddNewClient().
The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 6463ab1..8824921 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2548,7 +2548,7 @@ namespace OpenSim.Region.Framework.Scenes
2548 } 2548 }
2549 2549
2550 // This agent just became root. We are going to tell everyone about it. The process of 2550 // This agent just became root. We are going to tell everyone about it. The process of
2551 // getting other avatars information was initiated in the constructor... don't do it 2551 // getting other avatars information was initiated elsewhere immediately after the child circuit connected... don't do it
2552 // again here... this comes after the cached appearance check because the avatars 2552 // again here... this comes after the cached appearance check because the avatars
2553 // appearance goes into the avatar update packet 2553 // appearance goes into the avatar update packet
2554 SendAvatarDataToAllAgents(); 2554 SendAvatarDataToAllAgents();