diff options
author | Justin Clark-Casey (justincc) | 2011-08-16 23:05:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-16 23:05:08 +0100 |
commit | 57e54d84d641787d40a2b45549f6f2d373c5f2f2 (patch) | |
tree | 2a9dfca1ecde4281a59ec682d833c1007ccafbd2 /OpenSim/Framework/AvatarAppearance.cs | |
parent | Move some previously common code back into separate tests. Remove unused reg... (diff) | |
download | opensim-SC_OLD-57e54d84d641787d40a2b45549f6f2d373c5f2f2.zip opensim-SC_OLD-57e54d84d641787d40a2b45549f6f2d373c5f2f2.tar.gz opensim-SC_OLD-57e54d84d641787d40a2b45549f6f2d373c5f2f2.tar.bz2 opensim-SC_OLD-57e54d84d641787d40a2b45549f6f2d373c5f2f2.tar.xz |
Add new FireAndForgetMethod.None.
This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 02af5d9..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) |