Merge branch 'master' of opensimulator.org:/var/git/opensim

This commit is contained in:
Melanie Thielker
2015-10-31 00:06:34 +01:00
2 changed files with 6 additions and 9 deletions

View File

@@ -447,12 +447,8 @@ namespace OpenSim.Region.Framework.Scenes
/// <returns></returns>
public bool IsAttachmentCheckFull()
{
if(IsAttachment)
return true;
IsAttachment = (m_rootPart.Shape.PCode == (byte)PCodeEnum.Primitive && m_rootPart.Shape.State != 0);
return IsAttachment;
return (IsAttachment ||
(m_rootPart.Shape.PCode == (byte)PCodeEnum.Primitive && m_rootPart.Shape.State != 0));
}
private struct avtocrossInfo