change appearance data sent to others

0.9.1.0-post-fixes
UbitUmarov 2019-08-28 04:36:17 +01:00
parent 562ec0eed3
commit 450ae4a927
1 changed files with 10 additions and 2 deletions

View File

@ -4358,8 +4358,16 @@ namespace OpenSim.Region.Framework.Scenes
public void SendAppearanceToAgentNF(ScenePresence avatar) public void SendAppearanceToAgentNF(ScenePresence avatar)
{ {
avatar.ControllingClient.SendAppearance( if(avatar.UUID == UUID)
UUID, Appearance.VisualParams, Appearance.Texture.GetBytes()); {
avatar.ControllingClient.SendAppearance(
UUID, Appearance.VisualParams, Appearance.Texture.GetBytes());
}
else
{
avatar.ControllingClient.SendAppearance(
UUID, Appearance.VisualParams, Appearance.Texture.GetAvatarPublicBytes());
}
} }
public void SendAnimPackToAgent(ScenePresence p) public void SendAnimPackToAgent(ScenePresence p)