diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/AvatarAppearance.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/AvatarAppearance.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs b/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs index b027845..2ec4dbe 100644 --- a/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs +++ b/OpenSim/Region/Environment/Scenes/AvatarAppearance.cs | |||
@@ -88,7 +88,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
88 | m_textureEntry = GetDefaultTextureEntry(); | 88 | m_textureEntry = GetDefaultTextureEntry(); |
89 | } | 89 | } |
90 | 90 | ||
91 | |||
92 | /// <summary> | 91 | /// <summary> |
93 | /// | 92 | /// |
94 | /// </summary> | 93 | /// </summary> |
@@ -109,7 +108,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
109 | // (float)m_visualParams[125] = LegLength | 108 | // (float)m_visualParams[125] = LegLength |
110 | m_avatarHeight = (1.50856f + (((float)m_visualParams[25] / 255.0f) * (2.525506f - 1.50856f))) | 109 | m_avatarHeight = (1.50856f + (((float)m_visualParams[25] / 255.0f) * (2.525506f - 1.50856f))) |
111 | + (((float)m_visualParams[125] / 255.0f) / 1.5f); | 110 | + (((float)m_visualParams[125] / 255.0f) / 1.5f); |
112 | |||
113 | } | 111 | } |
114 | 112 | ||
115 | /// <summary> | 113 | /// <summary> |
@@ -119,7 +117,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
119 | public void SendAppearanceToOtherAgent(ScenePresence avatar) | 117 | public void SendAppearanceToOtherAgent(ScenePresence avatar) |
120 | { | 118 | { |
121 | avatar.ControllingClient.SendAppearance(m_scenePresenceID, m_visualParams, | 119 | avatar.ControllingClient.SendAppearance(m_scenePresenceID, m_visualParams, |
122 | m_textureEntry.ToBytes()); | 120 | m_textureEntry.ToBytes()); |
123 | } | 121 | } |
124 | 122 | ||
125 | public void SetWearable(IClientAPI client, int wearableId, AvatarWearable wearable) | 123 | public void SetWearable(IClientAPI client, int wearableId, AvatarWearable wearable) |