Remove mono compiler warnings

This commit is contained in:
Justin Clark-Casey (justincc)
2010-08-26 16:27:41 +01:00
parent d99c60164d
commit df702417dc
7 changed files with 7 additions and 36 deletions

View File

@@ -4727,20 +4727,8 @@ namespace OpenSim.Region.Framework.Scenes
if (ParentGroup == null || ParentGroup.IsDeleted)
return;
Vector3 lPos = OffsetPosition;
if (IsAttachment)
{
if (ParentGroup.RootPart != this)
return;
lPos = ParentGroup.RootPart.AttachedPos;
}
else
{
if (ParentGroup.RootPart == this)
lPos = AbsolutePosition;
}
if (IsAttachment && ParentGroup.RootPart != this)
return;
// Causes this thread to dig into the Client Thread Data.
// Remember your locking here!