mirror of
https://github.com/opensim/opensim.git
synced 2026-07-04 09:55:55 +08:00
The hazards if unclean sourc trees. Yours truly got bitten this time.
Re-fix the re-fix from a clean build. This makes the region based settings work as advertised
This commit is contained in:
@@ -743,7 +743,10 @@ namespace OpenSim.Data.MySQL
|
||||
}
|
||||
DataRow row = rawsettings[0];
|
||||
|
||||
return buildRegionSettings(row);
|
||||
RegionSettings newSettings = buildRegionSettings(row);
|
||||
newSettings.OnSave += StoreRegionSettings;
|
||||
|
||||
return newSettings;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1272,7 +1275,6 @@ namespace OpenSim.Data.MySQL
|
||||
private static RegionSettings buildRegionSettings(DataRow row)
|
||||
{
|
||||
RegionSettings newSettings = new RegionSettings();
|
||||
newSettings.OnSave += StoreRegionSettings;
|
||||
|
||||
newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]);
|
||||
newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]);
|
||||
|
||||
Reference in New Issue
Block a user