make VS compile Scene.cs

0.6.0-stable
Sean Dague 2008-05-22 20:59:40 +00:00
parent 1c49752a44
commit b27ae0e8dc
1 changed files with 1 additions and 1 deletions

View File

@ -1797,10 +1797,10 @@ namespace OpenSim.Region.Environment.Scenes
public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
{
appearance = null; // VS needs this line, mono doesn't
if (m_AvatarFactory == null ||
!m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance))
{
// not found Appearance
m_log.Warn("[APPEARANCE]: Appearance not found, creating default");
}
}