New config var: DisableObjectTransfer. If set to True, objects never cross; instead they stay in the region, possibly placed outside its borders.
parent
b3d8e35d67
commit
e00603f78a
|
@ -250,6 +250,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
///
|
///
|
||||||
public int m_linksetPhysCapacity = 0;
|
public int m_linksetPhysCapacity = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// When placed outside the region's border, do we transfer the objects or
|
||||||
|
/// do we keep simulating them here?
|
||||||
|
/// </summary>
|
||||||
|
public bool DisableObjectTransfer { get; set; }
|
||||||
|
|
||||||
public bool m_useFlySlow;
|
public bool m_useFlySlow;
|
||||||
public bool m_useTrashOnDelete = true;
|
public bool m_useTrashOnDelete = true;
|
||||||
|
|
||||||
|
@ -1155,6 +1161,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (entityTransferConfig != null)
|
if (entityTransferConfig != null)
|
||||||
{
|
{
|
||||||
AllowAvatarCrossing = entityTransferConfig.GetBoolean("AllowAvatarCrossing", AllowAvatarCrossing);
|
AllowAvatarCrossing = entityTransferConfig.GetBoolean("AllowAvatarCrossing", AllowAvatarCrossing);
|
||||||
|
DisableObjectTransfer = entityTransferConfig.GetBoolean("DisableObjectTransfer", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Interest Management
|
#region Interest Management
|
||||||
|
|
|
@ -556,6 +556,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
&& !Scene.PositionIsInCurrentRegion(val)
|
&& !Scene.PositionIsInCurrentRegion(val)
|
||||||
&& !IsAttachmentCheckFull()
|
&& !IsAttachmentCheckFull()
|
||||||
&& !Scene.LoadingPrims
|
&& !Scene.LoadingPrims
|
||||||
|
&& !Scene.DisableObjectTransfer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (!inTransit)
|
if (!inTransit)
|
||||||
|
|
|
@ -800,6 +800,10 @@
|
||||||
; Allow avatars to cross into and out of the region.
|
; Allow avatars to cross into and out of the region.
|
||||||
AllowAvatarCrossing = true
|
AllowAvatarCrossing = true
|
||||||
|
|
||||||
|
; This disables border transfers for objects. When true, objects can be placed outside
|
||||||
|
; the region's border without being transferred to another simulator.
|
||||||
|
DisableObjectTransfer = false
|
||||||
|
|
||||||
; Minimum user level required for HyperGrid teleports
|
; Minimum user level required for HyperGrid teleports
|
||||||
LevelHGTeleport = 0
|
LevelHGTeleport = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue