diff options
author | Mic Bowman | 2011-08-19 14:49:16 -0700 |
---|---|---|
committer | Mic Bowman | 2011-08-19 14:49:16 -0700 |
commit | 384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f (patch) | |
tree | 5e557eac5d4d3d4ad95b9e3e70a2a661e5745ec3 /OpenSim/Framework/AvatarAppearance.cs | |
parent | BulletSim: add runtime setting of physics parameters. Update default values. (diff) | |
parent | Get rid of HttpServer.dll to avoid confusion since we use HttpServer_OpenSim.... (diff) | |
download | opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.zip opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.gz opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.bz2 opensim-SC-384cb79a1a27c47bb3fdbdef6d601a3dcb9dfb0f.tar.xz |
Merge branch 'master' into bulletsim
Conflicts:
OpenSim/Region/Framework/Scenes/SceneManager.cs
Diffstat (limited to 'OpenSim/Framework/AvatarAppearance.cs')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 73b068d..ab4ed66 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -412,12 +412,20 @@ namespace OpenSim.Framework | |||
412 | } | 412 | } |
413 | 413 | ||
414 | /// <summary> | 414 | /// <summary> |
415 | /// Add an attachment, if the attachpoint has the | 415 | /// Add an attachment |
416 | /// </summary> | ||
417 | /// <remarks> | ||
418 | /// If the attachpoint has the | ||
416 | /// 0x80 bit set then we assume this is an append | 419 | /// 0x80 bit set then we assume this is an append |
417 | /// operation otherwise we replace whatever is | 420 | /// operation otherwise we replace whatever is |
418 | /// currently attached at the attachpoint | 421 | /// currently attached at the attachpoint |
422 | /// </remarks> | ||
423 | /// <param name="attachpoint"></param> | ||
424 | /// <param name="item">If UUID.Zero, then an any attachment at the attachpoint is removed.</param> | ||
425 | /// <param name="asset"></param> | ||
426 | /// <returns> | ||
419 | /// return true if something actually changed | 427 | /// return true if something actually changed |
420 | /// </summary> | 428 | /// </returns> |
421 | public bool SetAttachment(int attachpoint, UUID item, UUID asset) | 429 | public bool SetAttachment(int attachpoint, UUID item, UUID asset) |
422 | { | 430 | { |
423 | if (attachpoint == 0) | 431 | if (attachpoint == 0) |
@@ -539,7 +547,7 @@ namespace OpenSim.Framework | |||
539 | /// </summary> | 547 | /// </summary> |
540 | public void Unpack(OSDMap data) | 548 | public void Unpack(OSDMap data) |
541 | { | 549 | { |
542 | if ((data != null) && (data["serial"] != null)) | 550 | if ((data != null) && (data["serial"] != null)) |
543 | m_serial = data["serial"].AsInteger(); | 551 | m_serial = data["serial"].AsInteger(); |
544 | if ((data != null) && (data["height"] != null)) | 552 | if ((data != null) && (data["height"] != null)) |
545 | m_avatarHeight = (float)data["height"].AsReal(); | 553 | m_avatarHeight = (float)data["height"].AsReal(); |