Only AvatarFactory module should be calling ScenePresence.SendAppearanceToAllOtherAgents().
parent
6a24d0eb2d
commit
ed380196ea
|
@ -2517,7 +2517,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// If the avatars baked textures are all in the cache, then we have a
|
// If the avatars baked textures are all in the cache, then we have a
|
||||||
// complete appearance... send it out, if not, then we'll send it when
|
// complete appearance... send it out, if not, then we'll send it when
|
||||||
// the avatar finishes updating its appearance
|
// the avatar finishes updating its appearance
|
||||||
SendAppearanceToAllOtherAgents();
|
m_scene.AvatarFactory.QueueAppearanceSend(UUID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||||
|
|
||||||
sp.Appearance.SetTextureEntries(x.Texture);
|
sp.Appearance.SetTextureEntries(x.Texture);
|
||||||
sp.Appearance.SetVisualParams((byte[])x.VisualParams.Clone());
|
sp.Appearance.SetVisualParams((byte[])x.VisualParams.Clone());
|
||||||
sp.SendAppearanceToAllOtherAgents();
|
p_scene.AvatarFactory.QueueAppearanceSend(sp.UUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_avatars.Add(npcAvatar.AgentId, npcAvatar);
|
m_avatars.Add(npcAvatar.AgentId, npcAvatar);
|
||||||
|
|
Loading…
Reference in New Issue