aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 729fd9a..8c95a0d 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1797,10 +1797,10 @@ namespace OpenSim.Region.Environment.Scenes
1797 1797
1798 public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance) 1798 public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
1799 { 1799 {
1800 appearance = null; // VS needs this line, mono doesn't
1800 if (m_AvatarFactory == null || 1801 if (m_AvatarFactory == null ||
1801 !m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance)) 1802 !m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance))
1802 { 1803 {
1803 // not found Appearance
1804 m_log.Warn("[APPEARANCE]: Appearance not found, creating default"); 1804 m_log.Warn("[APPEARANCE]: Appearance not found, creating default");
1805 } 1805 }
1806 } 1806 }