Invert a test to allow prims to region-cross again
parent
48149f36c0
commit
a7f3d2fbc2
|
@ -2152,7 +2152,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
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))
|
(!Permissions.CanObjectEntry(RootPrim.UUID, true, RootPrim.AbsolutePosition)))
|
||||||
{
|
{
|
||||||
SceneObjectGroup grp = RootPrim.ParentGroup;
|
SceneObjectGroup grp = RootPrim.ParentGroup;
|
||||||
if (grp != null)
|
if (grp != null)
|
||||||
|
|
Loading…
Reference in New Issue