diff options
author | UbitUmarov | 2015-10-25 19:59:05 +0000 |
---|---|---|
committer | UbitUmarov | 2015-10-25 19:59:05 +0000 |
commit | c3532ba876b47c20b6b2fd79bf79c0290e6d9fb5 (patch) | |
tree | f40125887329ce9796aa27fd3a7d605f6110d398 | |
parent | Removed invalid dependencies from prebuild (those dlls no longer exist) (diff) | |
download | opensim-SC-c3532ba876b47c20b6b2fd79bf79c0290e6d9fb5.zip opensim-SC-c3532ba876b47c20b6b2fd79bf79c0290e6d9fb5.tar.gz opensim-SC-c3532ba876b47c20b6b2fd79bf79c0290e6d9fb5.tar.bz2 opensim-SC-c3532ba876b47c20b6b2fd79bf79c0290e6d9fb5.tar.xz |
set SOG.IsAttachment when doing a full check, so future gets see the right value
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 1c4b77a..1d89267 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -447,7 +447,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
447 | /// <returns></returns> | 447 | /// <returns></returns> |
448 | public bool IsAttachmentCheckFull() | 448 | public bool IsAttachmentCheckFull() |
449 | { | 449 | { |
450 | return (IsAttachment || (m_rootPart.Shape.PCode == (byte)PCodeEnum.Primitive && m_rootPart.Shape.State != 0)); | 450 | if(IsAttachment) |
451 | return true; | ||
452 | |||
453 | IsAttachment = (m_rootPart.Shape.PCode == (byte)PCodeEnum.Primitive && m_rootPart.Shape.State != 0); | ||
454 | |||
455 | return IsAttachment; | ||
451 | } | 456 | } |
452 | 457 | ||
453 | private struct avtocrossInfo | 458 | private struct avtocrossInfo |