Omit parcel checks for attachments.
parent
3ff34579e4
commit
0afbb6cb3e
|
@ -2156,14 +2156,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
SceneObjectPart RootPrim = GetSceneObjectPart(primID);
|
SceneObjectPart RootPrim = GetSceneObjectPart(primID);
|
||||||
if (RootPrim != null)
|
if (RootPrim != null)
|
||||||
{
|
{
|
||||||
if (m_regInfo.EstateSettings.IsBanned(RootPrim.OwnerID) ||
|
if (m_regInfo.EstateSettings.IsBanned(RootPrim.OwnerID))
|
||||||
(!Permissions.CanObjectEntry(RootPrim.UUID, true, RootPrim.AbsolutePosition)))
|
|
||||||
{
|
{
|
||||||
SceneObjectGroup grp = RootPrim.ParentGroup;
|
SceneObjectGroup grp = RootPrim.ParentGroup;
|
||||||
if (grp != null)
|
if (grp != null)
|
||||||
{
|
|
||||||
DeleteSceneObject(grp, false);
|
DeleteSceneObject(grp, false);
|
||||||
}
|
|
||||||
|
|
||||||
m_log.Info("[INTERREGION]: Denied prim crossing for banned avatar");
|
m_log.Info("[INTERREGION]: Denied prim crossing for banned avatar");
|
||||||
|
|
||||||
|
@ -2172,6 +2169,19 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
if (RootPrim.Shape.PCode == (byte)PCode.Prim)
|
if (RootPrim.Shape.PCode == (byte)PCode.Prim)
|
||||||
{
|
{
|
||||||
SceneObjectGroup grp = RootPrim.ParentGroup;
|
SceneObjectGroup grp = RootPrim.ParentGroup;
|
||||||
|
if((RootPrim.Shape.State == 0) &&
|
||||||
|
(!Permissions.CanObjectEntry(RootPrim.UUID,
|
||||||
|
true, RootPrim.AbsolutePosition)))
|
||||||
|
{
|
||||||
|
if (grp != null)
|
||||||
|
{
|
||||||
|
DeleteSceneObject(grp, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
m_log.Info("[INTERREGION]: Denied prim crossing because of parcel settings");
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (grp != null)
|
if (grp != null)
|
||||||
{
|
{
|
||||||
if (RootPrim.Shape.State != 0)
|
if (RootPrim.Shape.State != 0)
|
||||||
|
|
Loading…
Reference in New Issue