change appearance data sent to others
parent
562ec0eed3
commit
450ae4a927
|
@ -4357,10 +4357,18 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SendAppearanceToAgentNF(ScenePresence avatar)
|
public void SendAppearanceToAgentNF(ScenePresence avatar)
|
||||||
|
{
|
||||||
|
if(avatar.UUID == UUID)
|
||||||
{
|
{
|
||||||
avatar.ControllingClient.SendAppearance(
|
avatar.ControllingClient.SendAppearance(
|
||||||
UUID, Appearance.VisualParams, Appearance.Texture.GetBytes());
|
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