Reset "Show in search" on parcels cut off other parcels that are in search

avinationmerge
Melanie 2013-05-24 01:09:07 +02:00
parent 9ba35c6b7e
commit 027580935a
1 changed files with 2 additions and 0 deletions

View File

@ -937,6 +937,8 @@ namespace OpenSim.Region.CoreModules.World.Land
newLand.LandData.Name = newLand.LandData.Name;
newLand.LandData.GlobalID = UUID.Random();
newLand.LandData.Dwell = 0;
// Clear "Show in search" on the cut out parcel to prevent double-charging
newLand.LandData.Flags &= ~(uint)ParcelFlags.ShowDirectory;
newLand.SetLandBitmap(newLand.GetSquareLandBitmap(start_x, start_y, end_x, end_y));