diff options
author | Oren Hurvitz | 2011-07-04 17:54:14 +0300 |
---|---|---|
committer | root | 2011-07-21 20:13:32 +0100 |
commit | f97278610c2ab9717b32b9c64bc5865b0b47dd41 (patch) | |
tree | cafa8ef9b324993a0713ea824dc1e5dd7edff328 /OpenSim/Framework/AvatarAppearance.cs | |
parent | Apply the localID to the Physics actor to prevent null calls later (diff) | |
download | opensim-SC-f97278610c2ab9717b32b9c64bc5865b0b47dd41.zip opensim-SC-f97278610c2ab9717b32b9c64bc5865b0b47dd41.tar.gz opensim-SC-f97278610c2ab9717b32b9c64bc5865b0b47dd41.tar.bz2 opensim-SC-f97278610c2ab9717b32b9c64bc5865b0b47dd41.tar.xz |
Fixed updating avatar appearance
Signed-off-by: root <root@grid00001.t-data.com>
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 5a6b265..716baab 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -196,6 +196,9 @@ namespace OpenSim.Framework | |||
196 | if (appearance.VisualParams != null) | 196 | if (appearance.VisualParams != null) |
197 | m_visualparams = (byte[])appearance.VisualParams.Clone(); | 197 | m_visualparams = (byte[])appearance.VisualParams.Clone(); |
198 | 198 | ||
199 | m_avatarHeight = appearance.m_avatarHeight; | ||
200 | m_hipOffset = appearance.m_hipOffset; | ||
201 | |||
199 | // Copy the attachment, force append mode since that ensures consistency | 202 | // Copy the attachment, force append mode since that ensures consistency |
200 | m_attachments = new Dictionary<int, List<AvatarAttachment>>(); | 203 | m_attachments = new Dictionary<int, List<AvatarAttachment>>(); |
201 | foreach (AvatarAttachment attachment in appearance.GetAttachments()) | 204 | foreach (AvatarAttachment attachment in appearance.GetAttachments()) |
@@ -237,7 +240,6 @@ namespace OpenSim.Framework | |||
237 | { | 240 | { |
238 | m_serial = 0; | 241 | m_serial = 0; |
239 | 242 | ||
240 | SetDefaultParams(); | ||
241 | SetDefaultTexture(); | 243 | SetDefaultTexture(); |
242 | 244 | ||
243 | //for (int i = 0; i < BAKE_INDICES.Length; i++) | 245 | //for (int i = 0; i < BAKE_INDICES.Length; i++) |