From 5998fb712a7079c5ebd12223d43a91f18925372e Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Fri, 25 Jul 2008 06:17:43 +0000
Subject: 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.

---
 .../Region/Environment/Modules/World/Estate/EstateManagementModule.cs  | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'OpenSim/Region/Environment/Modules/World')

diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
index c0fdc05..7ca1f3a 100644
--- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
@@ -120,6 +120,9 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
 
         public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, LLUUID texture)
         {
+            if(texture == LLUUID.Zero)
+                return;
+
             switch (corner)
             {
                 case 0:
-- 
cgit v1.1