diff options
author | Melanie | 2013-05-11 01:27:37 +0100 |
---|---|---|
committer | Melanie | 2013-05-11 01:27:37 +0100 |
commit | 81d8deb1a830765ec64948db5ec3902894761f24 (patch) | |
tree | 300a4abe329bf8cec3557dd390cca0b86063bf61 /OpenSim/Region/CoreModules | |
parent | Guard the scene list when estates are updated (diff) | |
download | opensim-SC-81d8deb1a830765ec64948db5ec3902894761f24.zip opensim-SC-81d8deb1a830765ec64948db5ec3902894761f24.tar.gz opensim-SC-81d8deb1a830765ec64948db5ec3902894761f24.tar.bz2 opensim-SC-81d8deb1a830765ec64948db5ec3902894761f24.tar.xz |
Send up the part missing from the Avination Estate commit.
Warning - contains a small migration.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 91f6501..121b2aa 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -1245,6 +1245,8 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1245 | flags |= RegionFlags.NoFly; | 1245 | flags |= RegionFlags.NoFly; |
1246 | if (Scene.RegionInfo.RegionSettings.RestrictPushing) | 1246 | if (Scene.RegionInfo.RegionSettings.RestrictPushing) |
1247 | flags |= RegionFlags.RestrictPushObject; | 1247 | flags |= RegionFlags.RestrictPushObject; |
1248 | if (Scene.RegionInfo.RegionSettings.AllowLandJoinDivide) | ||
1249 | flags |= RegionFlags.AllowParcelChanges; | ||
1248 | if (Scene.RegionInfo.RegionSettings.BlockShowInSearch) | 1250 | if (Scene.RegionInfo.RegionSettings.BlockShowInSearch) |
1249 | flags |= RegionFlags.BlockParcelSearch; | 1251 | flags |= RegionFlags.BlockParcelSearch; |
1250 | 1252 | ||
@@ -1254,6 +1256,10 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1254 | flags |= RegionFlags.Sandbox; | 1256 | flags |= RegionFlags.Sandbox; |
1255 | if (Scene.RegionInfo.EstateSettings.AllowVoice) | 1257 | if (Scene.RegionInfo.EstateSettings.AllowVoice) |
1256 | flags |= RegionFlags.AllowVoice; | 1258 | flags |= RegionFlags.AllowVoice; |
1259 | if (Scene.RegionInfo.EstateSettings.AllowLandmark) | ||
1260 | flags |= RegionFlags.AllowLandmark; | ||
1261 | if (Scene.RegionInfo.EstateSettings.AllowSetHome) | ||
1262 | flags |= RegionFlags.AllowSetHome; | ||
1257 | if (Scene.RegionInfo.EstateSettings.BlockDwell) | 1263 | if (Scene.RegionInfo.EstateSettings.BlockDwell) |
1258 | flags |= RegionFlags.BlockDwell; | 1264 | flags |= RegionFlags.BlockDwell; |
1259 | if (Scene.RegionInfo.EstateSettings.ResetHomeOnTeleport) | 1265 | if (Scene.RegionInfo.EstateSettings.ResetHomeOnTeleport) |
@@ -1299,6 +1305,12 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1299 | flags |= RegionFlags.ResetHomeOnTeleport; | 1305 | flags |= RegionFlags.ResetHomeOnTeleport; |
1300 | if (Scene.RegionInfo.EstateSettings.TaxFree) | 1306 | if (Scene.RegionInfo.EstateSettings.TaxFree) |
1301 | flags |= RegionFlags.TaxFree; | 1307 | flags |= RegionFlags.TaxFree; |
1308 | if (Scene.RegionInfo.EstateSettings.AllowLandmark) | ||
1309 | flags |= RegionFlags.AllowLandmark; | ||
1310 | if (Scene.RegionInfo.EstateSettings.AllowParcelChanges) | ||
1311 | flags |= RegionFlags.AllowParcelChanges; | ||
1312 | if (Scene.RegionInfo.EstateSettings.AllowSetHome) | ||
1313 | flags |= RegionFlags.AllowSetHome; | ||
1302 | if (Scene.RegionInfo.EstateSettings.DenyMinors) | 1314 | if (Scene.RegionInfo.EstateSettings.DenyMinors) |
1303 | flags |= (RegionFlags)(1 << 30); | 1315 | flags |= (RegionFlags)(1 << 30); |
1304 | 1316 | ||