mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Reset "Show in search" on parcels cut off other parcels that are in search
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user