mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
fix mantis 7733, reverting setting of IsAttachment on first call to full check. Replace instead same simple IsAttachment tests by full checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user