mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
From: Chris Yeoh <cyeoh@au1.ibm.com>
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
This commit is contained in:
@@ -102,7 +102,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#region Fields
|
||||
|
||||
[XmlIgnore]
|
||||
public bool AllowedDrop = false;
|
||||
|
||||
[XmlIgnore]
|
||||
@@ -216,6 +215,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
private readonly UndoStack<UndoState> m_undo = new UndoStack<UndoState>(5);
|
||||
private UUID _creatorID;
|
||||
|
||||
|
||||
private bool m_passTouches = false;
|
||||
|
||||
/// <summary>
|
||||
/// Only used internally to schedule client updates.
|
||||
/// 0 - no update is scheduled
|
||||
@@ -431,6 +433,17 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public bool PassTouches
|
||||
{
|
||||
get { return m_passTouches; }
|
||||
set
|
||||
{
|
||||
m_passTouches = value;
|
||||
if (ParentGroup != null)
|
||||
ParentGroup.HasGroupChanged = true;
|
||||
}
|
||||
}
|
||||
|
||||
public ulong RegionHandle
|
||||
{
|
||||
get { return m_regionHandle; }
|
||||
|
||||
Reference in New Issue
Block a user