aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-19 20:13:48 +0000
committerJustin Clark-Casey (justincc)2011-12-19 20:13:48 +0000
commit92039f295d7fe66bf1a09b29483f9057e395839e (patch)
treeee55b0edc8176d27f76f3a9fd7bbbd985683b6b0 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentStop unnecessarily sending the TextureEntry in client avatar updates. (diff)
downloadopensim-SC_OLD-92039f295d7fe66bf1a09b29483f9057e395839e.zip
opensim-SC_OLD-92039f295d7fe66bf1a09b29483f9057e395839e.tar.gz
opensim-SC_OLD-92039f295d7fe66bf1a09b29483f9057e395839e.tar.bz2
opensim-SC_OLD-92039f295d7fe66bf1a09b29483f9057e395839e.tar.xz
Stop sending the viewer its own AvatarAppearance packet.
The viewer warns in the log if it receives this. Stopping this doesn't appear to have adverse effects on viewer 1 or viewer 3 - the viewer gets its own appearance from body parts/clothes and self-baked textures.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f2e2ce7..9cad3fe 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2532,7 +2532,10 @@ namespace OpenSim.Region.Framework.Scenes
2532 // again here... this comes after the cached appearance check because the avatars 2532 // again here... this comes after the cached appearance check because the avatars
2533 // appearance goes into the avatar update packet 2533 // appearance goes into the avatar update packet
2534 SendAvatarDataToAllAgents(); 2534 SendAvatarDataToAllAgents();
2535 SendAppearanceToAgent(this); 2535
2536 // Sending us our own appearance does not seem to be necessary, and the viewer warns in the log if you do
2537 // this.
2538// SendAppearanceToAgent(this);
2536 2539
2537 // If we are using the the cached appearance then send it out to everyone 2540 // If we are using the the cached appearance then send it out to everyone
2538 if (cachedappearance) 2541 if (cachedappearance)