mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Revamp the viewer -> banlist packet processing so fix a number of bugs.
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
This commit is contained in:
@@ -8298,7 +8298,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry();
|
||||
entry.AgentID = block.ID;
|
||||
entry.Flags = (AccessList)block.Flags;
|
||||
entry.Time = new DateTime();
|
||||
entry.Time = Util.ToDateTime(block.Time);
|
||||
entries.Add(entry);
|
||||
}
|
||||
|
||||
@@ -8306,8 +8306,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
if (handlerParcelAccessListUpdateRequest != null)
|
||||
{
|
||||
handlerParcelAccessListUpdateRequest(updatePacket.AgentData.AgentID,
|
||||
updatePacket.AgentData.SessionID, updatePacket.Data.Flags,
|
||||
updatePacket.Data.LocalID, entries, this);
|
||||
updatePacket.Data.Flags,
|
||||
updatePacket.Data.LocalID,
|
||||
updatePacket.Data.TransactionID,
|
||||
updatePacket.Data.SequenceID,
|
||||
updatePacket.Data.Sections,
|
||||
entries, this);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user