aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorSean Dague2008-05-16 23:03:36 +0000
committerSean Dague2008-05-16 23:03:36 +0000
commitebb0cc5dd741e4a7aa1ee97022f08841cf004769 (patch)
treee5fc5886b78740b4a9938068be5fd57ee0046b3e /OpenSim/Region/Environment/Scenes
parent* Patch from Melanie. Mantis 1294: Fix broken wearables icon display in pri... (diff)
downloadopensim-SC_OLD-ebb0cc5dd741e4a7aa1ee97022f08841cf004769.zip
opensim-SC_OLD-ebb0cc5dd741e4a7aa1ee97022f08841cf004769.tar.gz
opensim-SC_OLD-ebb0cc5dd741e4a7aa1ee97022f08841cf004769.tar.bz2
opensim-SC_OLD-ebb0cc5dd741e4a7aa1ee97022f08841cf004769.tar.xz
minor change to justin's previous fix that should still
prevent his crashes
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index bdf1bba..7eaab40 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -1453,11 +1453,12 @@ namespace OpenSim.Region.Environment.Scenes
1453 public void SendInitialData() 1453 public void SendInitialData()
1454 { 1454 {
1455 // justincc - very temporary fix for the fact that m_apperance appears to be null at this point in grid mode 1455 // justincc - very temporary fix for the fact that m_apperance appears to be null at this point in grid mode
1456 if (null == m_appearance) 1456 LLObject.TextureEntry texture = AvatarAppearance.GetDefaultTexture();
1457 m_appearance = new AvatarAppearance(); 1457 if (null != m_appearance)
1458 texture = m_appearance.Texture;
1458 1459
1459 m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid, LocalId, 1460 m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_uuid, LocalId,
1460 m_pos, m_appearance.Texture.ToBytes(), m_parentID); 1461 m_pos, texture.ToBytes(), m_parentID);
1461 1462
1462 if (!m_isChildAgent) 1463 if (!m_isChildAgent)
1463 { 1464 {