diff options
author | Sean Dague | 2008-05-22 20:59:40 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-22 20:59:40 +0000 |
commit | b27ae0e8dca20feb9977ea223ecd38bfed4f6ea8 (patch) | |
tree | 9b1131521268f7f3f4d8a8873549f1cd6a064789 /OpenSim | |
parent | don't trust appearance assetid, instead do an inventory (diff) | |
download | opensim-SC_OLD-b27ae0e8dca20feb9977ea223ecd38bfed4f6ea8.zip opensim-SC_OLD-b27ae0e8dca20feb9977ea223ecd38bfed4f6ea8.tar.gz opensim-SC_OLD-b27ae0e8dca20feb9977ea223ecd38bfed4f6ea8.tar.bz2 opensim-SC_OLD-b27ae0e8dca20feb9977ea223ecd38bfed4f6ea8.tar.xz |
make VS compile Scene.cs
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
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 | } |