make VS compile Scene.cs
parent
1c49752a44
commit
b27ae0e8dc
|
@ -1797,10 +1797,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
|
public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
|
||||||
{
|
{
|
||||||
|
appearance = null; // VS needs this line, mono doesn't
|
||||||
if (m_AvatarFactory == null ||
|
if (m_AvatarFactory == null ||
|
||||||
!m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance))
|
!m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance))
|
||||||
{
|
{
|
||||||
// not found Appearance
|
|
||||||
m_log.Warn("[APPEARANCE]: Appearance not found, creating default");
|
m_log.Warn("[APPEARANCE]: Appearance not found, creating default");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue