If an attachment fails, then start logging the exception for now, in order to help with the inconsistent state bug.

This also refactors AttachmentsModules to stop pointlessly refetching the ScenePresence in various methods.  However, more of this is required.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-22 23:59:48 +01:00
parent 2eaadf2dc0
commit d328046efb
3 changed files with 84 additions and 61 deletions

View File

@@ -49,11 +49,9 @@ namespace OpenSim.Region.Framework.Interfaces
/// <summary>
/// Attach an object to an avatar.
/// </summary>
/// <param name="controllingClient"></param>
/// <param name="localID"></param>
/// <param name="attachPoint"></param>
/// <param name="rot"></param>
/// <param name="attachPos"></param>
/// <param name="remoteClient"></param>
/// <param name="grp"></param>
/// <param name="AttachmentPt"></param>
/// <param name="silent"></param>
/// <returns>true if the object was successfully attached, false otherwise</returns>
bool AttachObject(