aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-26 18:03:50 +0000
committerMelanie Thielker2008-07-26 18:03:50 +0000
commit1321bd25b8590d3a6fc9750a2275df100db2e532 (patch)
tree8d88cfc26ab1a539675c1cc72cb87cb87ebfc760 /OpenSim
parentreinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing pro... (diff)
downloadopensim-SC_OLD-1321bd25b8590d3a6fc9750a2275df100db2e532.zip
opensim-SC_OLD-1321bd25b8590d3a6fc9750a2275df100db2e532.tar.gz
opensim-SC_OLD-1321bd25b8590d3a6fc9750a2275df100db2e532.tar.bz2
opensim-SC_OLD-1321bd25b8590d3a6fc9750a2275df100db2e532.tar.xz
Fix Mantis #1830
Makes region settings save on second and subsequent sim restarts after upgrading.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/MySQL/MySQLDataStore.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs
index 8f3d904..5bb8f72 100644
--- a/OpenSim/Data/MySQL/MySQLDataStore.cs
+++ b/OpenSim/Data/MySQL/MySQLDataStore.cs
@@ -1272,6 +1272,7 @@ namespace OpenSim.Data.MySQL
1272 private static RegionSettings buildRegionSettings(DataRow row) 1272 private static RegionSettings buildRegionSettings(DataRow row)
1273 { 1273 {
1274 RegionSettings newSettings = new RegionSettings(); 1274 RegionSettings newSettings = new RegionSettings();
1275 rs.OnSave += StoreRegionSettings;
1275 1276
1276 newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]); 1277 newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]);
1277 newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]); 1278 newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]);