mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
minor change to justin's previous fix that should still
prevent his crashes
This commit is contained in:
@@ -1453,11 +1453,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
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();
|
||||
LLObject.TextureEntry texture = AvatarAppearance.GetDefaultTexture();
|
||||
if (null != m_appearance)
|
||||
texture = m_appearance.Texture;
|
||||
|
||||
m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid, LocalId,
|
||||
m_pos, m_appearance.Texture.ToBytes(), m_parentID);
|
||||
m_pos, texture.ToBytes(), m_parentID);
|
||||
|
||||
if (!m_isChildAgent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user