mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Try to plumb the other half
This commit is contained in:
@@ -1553,6 +1553,19 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
land_update.ObscureMusic = properties.ObscureMusic;
|
||||
land_update.ObscureMedia = properties.ObscureMedia;
|
||||
|
||||
if (args.ContainsKey("SeeAVs"))
|
||||
{
|
||||
land_update.SeeAVs = args["SeeAVs"].AsBoolean();
|
||||
land_update.AnyAVSounds = args["AnyAVSounds"].AsBoolean();
|
||||
land_update.GroupAVSounds = args["GroupAVSounds"].AsBoolean();
|
||||
}
|
||||
else
|
||||
{
|
||||
land_update.SeeAVs = true;
|
||||
land_update.AnyAVSounds = true;
|
||||
land_update.GroupAVSounds = true;
|
||||
}
|
||||
|
||||
ILandObject land;
|
||||
lock (m_landList)
|
||||
{
|
||||
|
||||
@@ -292,6 +292,9 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
ParcelFlags.AllowAPrimitiveEntry |
|
||||
ParcelFlags.AllowGroupObjectEntry |
|
||||
ParcelFlags.AllowFly);
|
||||
newData.SeeAVs = args.SeeAVs;
|
||||
newData.AnyAVSounds = args.AnyAVSounds;
|
||||
newData.GroupAVSounds = args.GroupAVSounds;
|
||||
}
|
||||
|
||||
if (m_scene.Permissions.CanEditParcelProperties(remote_client.AgentId, this, GroupPowers.LandSetSale, true))
|
||||
|
||||
Reference in New Issue
Block a user