Reset "Show in search" on parcels cut off other parcels that are in search
parent
9ba35c6b7e
commit
027580935a
|
@ -937,6 +937,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
newLand.LandData.Name = newLand.LandData.Name;
|
newLand.LandData.Name = newLand.LandData.Name;
|
||||||
newLand.LandData.GlobalID = UUID.Random();
|
newLand.LandData.GlobalID = UUID.Random();
|
||||||
newLand.LandData.Dwell = 0;
|
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));
|
newLand.SetLandBitmap(newLand.GetSquareLandBitmap(start_x, start_y, end_x, end_y));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue