* Removing unnecessary LLUUID.Zero check from AssetCache

* This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
This commit is contained in:
Justin Clarke Casey
2008-05-16 16:37:31 +00:00
parent 6a526fcb6f
commit 772f88d2e5
3 changed files with 69 additions and 65 deletions

View File

@@ -1451,9 +1451,14 @@ namespace OpenSim.Region.Environment.Scenes
///
/// </summary>
public void SendInitialData()
{
{
// justincc - very temporary fix for the fact that m_apperance appears to be null at this point in grid mode
if (null == m_appearance)
m_appearance = new AvatarAppearance();
m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid, LocalId,
m_pos, m_appearance.Texture.ToBytes(), m_parentID);
if (!m_isChildAgent)
{
m_scene.InformClientOfNeighbours(this);