aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2009-10-14 04:18:59 +0100
committerMelanie2009-10-14 04:18:59 +0100
commitdb4cdc09614abc1c35a242f4c882b2e3285f0206 (patch)
treef649a8457290db9c5693fa71e412c6292f49d389
parent* Fixes some prim crossings on megaregions with regions beyond the 512m mark (diff)
downloadopensim-SC_OLD-db4cdc09614abc1c35a242f4c882b2e3285f0206.zip
opensim-SC_OLD-db4cdc09614abc1c35a242f4c882b2e3285f0206.tar.gz
opensim-SC_OLD-db4cdc09614abc1c35a242f4c882b2e3285f0206.tar.bz2
opensim-SC_OLD-db4cdc09614abc1c35a242f4c882b2e3285f0206.tar.xz
Set the estate owner to be the master avatar if it's not set.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index 14560b1..e69e4cd 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -200,6 +200,12 @@ namespace OpenSim.Services.Interfaces
200 Maturity = ConvertFrom.RegionSettings.Maturity; 200 Maturity = ConvertFrom.RegionSettings.Maturity;
201 RegionSecret = ConvertFrom.regionSecret; 201 RegionSecret = ConvertFrom.regionSecret;
202 EstateOwner = ConvertFrom.EstateSettings.EstateOwner; 202 EstateOwner = ConvertFrom.EstateSettings.EstateOwner;
203 if (EstateOwner == UUID.Zero)
204 {
205 EstateOwner = ConvertFrom.MasterAvatarAssignedUUID;
206 ConvertFrom.EstateSettings.EstateOwner = EstateOwner;
207 ConvertFrom.EstateSettings.Save();
208 }
203 } 209 }
204 210
205 public GridRegion(GridRegion ConvertFrom) 211 public GridRegion(GridRegion ConvertFrom)