diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs index 44f9a93c68..6b82994851 100644 --- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs @@ -761,8 +761,10 @@ namespace OpenSim.Region.Environment.Modules.World.Estate if (m_scene.RegionInfo.RegionSettings.Sandbox) flags |= Simulator.RegionFlags.Sandbox; - // Handled in LandObject.cs: AllowLandmark - // Handled in LandObject.cs: AllowSetHome + // Fudge these to always on, so the menu options activate + // + flags |= Simulator.RegionFlags.AllowLandmark; + flags |= Simulator.RegionFlags.AllowSetHome; // TODO: SkipUpdateInterestList diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs index 8abfcf8ebc..15a68c135b 100644 --- a/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs +++ b/OpenSim/Region/Environment/Modules/World/Land/LandObject.cs @@ -165,10 +165,13 @@ namespace OpenSim.Region.Environment.Modules.World.Land uint regionFlags = 336723974 & ~((uint)(Simulator.RegionFlags.AllowLandmark | Simulator.RegionFlags.AllowSetHome)); if (estateModule != null) regionFlags = estateModule.GetRegionFlags(); - if ((landData.Flags & (uint)Parcel.ParcelFlags.AllowLandmark) != 0) - regionFlags |= (uint)Simulator.RegionFlags.AllowLandmark; - if (landData.OwnerID == remote_client.AgentId) - regionFlags |= (uint)Simulator.RegionFlags.AllowSetHome; + + // In a perfect world, this would have worked. + // +// if ((landData.Flags & (uint)Parcel.ParcelFlags.AllowLandmark) != 0) +// regionFlags |= (uint)Simulator.RegionFlags.AllowLandmark; +// if (landData.OwnerID == remote_client.AgentId) +// regionFlags |= (uint)Simulator.RegionFlags.AllowSetHome; remote_client.SendLandProperties(remote_client, sequence_id, snap_selection, request_result, landData, (float)m_scene.RegionInfo.RegionSettings.ObjectBonus,