aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authortglion2016-09-05 07:58:22 +0200
committerUbitUmarov2016-09-05 08:39:16 +0100
commit0e68742afcb65d087ecbe5a7286e55950511966f (patch)
tree1ffe550e26be6646d2d49882457664e7c0a44c18 /OpenSim/Region
parenttry to reduce the amount of assets created editing materials (diff)
downloadopensim-SC_OLD-0e68742afcb65d087ecbe5a7286e55950511966f.zip
opensim-SC_OLD-0e68742afcb65d087ecbe5a7286e55950511966f.tar.gz
opensim-SC_OLD-0e68742afcb65d087ecbe5a7286e55950511966f.tar.bz2
opensim-SC_OLD-0e68742afcb65d087ecbe5a7286e55950511966f.tar.xz
Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 4324ddc..68c9c97 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1435,6 +1435,9 @@ namespace OpenSim.Region.CoreModules.World.Land
1435 land.LandData.IsGroupOwned = false; 1435 land.LandData.IsGroupOwned = false;
1436 land.LandData.SalePrice = 0; 1436 land.LandData.SalePrice = 0;
1437 land.LandData.AuthBuyerID = UUID.Zero; 1437 land.LandData.AuthBuyerID = UUID.Zero;
1438 land.LandData.SeeAVs = true;
1439 land.LandData.AnyAVSounds = true;
1440 land.LandData.GroupAVSounds = true;
1438 land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory); 1441 land.LandData.Flags &= ~(uint) (ParcelFlags.ForSale | ParcelFlags.ForSaleObjects | ParcelFlags.SellParcelObjects | ParcelFlags.ShowDirectory);
1439 m_scene.ForEachClient(SendParcelOverlay); 1442 m_scene.ForEachClient(SendParcelOverlay);
1440 land.SendLandUpdateToClient(true, remote_client); 1443 land.SendLandUpdateToClient(true, remote_client);