change appearance data sent to others
parent
562ec0eed3
commit
450ae4a927
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue