Patch #9155 (Mantis #1793)

Fix a regression that caused the region settings not to save.
Still no SQLite support for region settings. MySQL now functional.
0.6.0-stable
Melanie Thielker 2008-07-25 06:17:43 +00:00
parent ff0644a104
commit 5998fb712a
2 changed files with 4 additions and 0 deletions

View File

@ -735,6 +735,7 @@ namespace OpenSim.Data.MySQL
{ {
RegionSettings rs = new RegionSettings(); RegionSettings rs = new RegionSettings();
rs.RegionUUID = regionUUID; rs.RegionUUID = regionUUID;
rs.OnSave += StoreRegionSettings;
StoreRegionSettings(rs); StoreRegionSettings(rs);

View File

@ -120,6 +120,9 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, LLUUID texture) public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, LLUUID texture)
{ {
if(texture == LLUUID.Zero)
return;
switch (corner) switch (corner)
{ {
case 0: case 0: