Set the estate owner to be the master avatar if it's not set.
parent
31a61bbeec
commit
db4cdc0961
|
@ -200,6 +200,12 @@ namespace OpenSim.Services.Interfaces
|
||||||
Maturity = ConvertFrom.RegionSettings.Maturity;
|
Maturity = ConvertFrom.RegionSettings.Maturity;
|
||||||
RegionSecret = ConvertFrom.regionSecret;
|
RegionSecret = ConvertFrom.regionSecret;
|
||||||
EstateOwner = ConvertFrom.EstateSettings.EstateOwner;
|
EstateOwner = ConvertFrom.EstateSettings.EstateOwner;
|
||||||
|
if (EstateOwner == UUID.Zero)
|
||||||
|
{
|
||||||
|
EstateOwner = ConvertFrom.MasterAvatarAssignedUUID;
|
||||||
|
ConvertFrom.EstateSettings.EstateOwner = EstateOwner;
|
||||||
|
ConvertFrom.EstateSettings.Save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GridRegion(GridRegion ConvertFrom)
|
public GridRegion(GridRegion ConvertFrom)
|
||||||
|
|
Loading…
Reference in New Issue