Only AvatarFactory module should be calling ScenePresence.SendAppearanceToAllOtherAgents().

dsg
Dan Lake 2011-01-11 11:49:05 -08:00
parent 6a24d0eb2d
commit ed380196ea
2 changed files with 2 additions and 2 deletions

View File

@ -2517,7 +2517,7 @@ namespace OpenSim.Region.Framework.Scenes
// 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
// the avatar finishes updating its appearance
SendAppearanceToAllOtherAgents();
m_scene.AvatarFactory.QueueAppearanceSend(UUID);
}
}

View File

@ -169,7 +169,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
sp.Appearance.SetTextureEntries(x.Texture);
sp.Appearance.SetVisualParams((byte[])x.VisualParams.Clone());
sp.SendAppearanceToAllOtherAgents();
p_scene.AvatarFactory.QueueAppearanceSend(sp.UUID);
}
m_avatars.Add(npcAvatar.AgentId, npcAvatar);