avinationmerge
UbitUmarov 2014-08-21 06:35:11 +01:00
parent ad6f942279
commit 5f1cb6542d
1 changed files with 22 additions and 15 deletions

View File

@ -4787,10 +4787,12 @@ namespace OpenSim.Region.Framework.Scenes
m_scene.ForEachScenePresence(delegate(ScenePresence p)
{
if (p != this && sog.HasPrivateAttachmentPoint)
return;
if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
if (p != this)
{
if (sog.HasPrivateAttachmentPoint ||
(ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200))
return;
}
SceneObjectPart[] parts = sog.Parts;
@ -4820,11 +4822,13 @@ namespace OpenSim.Region.Framework.Scenes
m_scene.ForEachScenePresence(delegate(ScenePresence p)
{
if (p != this && part.ParentGroup.HasPrivateAttachmentPoint)
return;
if (p != this)
{
if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
return;
if (part.ParentGroup.HasPrivateAttachmentPoint ||
(ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200))
return;
}
if (part.UpdateFlag == UpdateRequired.TERSE)
{
@ -4848,11 +4852,12 @@ namespace OpenSim.Region.Framework.Scenes
m_scene.ForEachScenePresence(delegate(ScenePresence p)
{
if (p != this && sog.HasPrivateAttachmentPoint)
return;
if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
if (p != this)
{
if (sog.HasPrivateAttachmentPoint ||
(ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200))
return;
}
SceneObjectPart[] parts = sog.Parts;
@ -4882,11 +4887,13 @@ namespace OpenSim.Region.Framework.Scenes
m_scene.ForEachScenePresence(delegate(ScenePresence p)
{
if (p != this && part.ParentGroup.HasPrivateAttachmentPoint)
return;
if (p != this)
{
if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
return;
if (part.ParentGroup.HasPrivateAttachmentPoint ||
(ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200))
return;
}
if (UpdateFlag == UpdateRequired.TERSE)
{