mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
make VS compile Scene.cs
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user