aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteRegionData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs
index 9908735..b648ee8 100644
--- a/OpenSim/Data/SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs
@@ -1223,22 +1223,6 @@ namespace OpenSim.Data.SQLite
1223 s.TextureEntry = textureEntry; 1223 s.TextureEntry = textureEntry;
1224 1224
1225 s.ExtraParams = (byte[]) row["ExtraParams"]; 1225 s.ExtraParams = (byte[]) row["ExtraParams"];
1226 // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
1227 // string texture = encoding.GetString((Byte[])row["Texture"]);
1228 // if (!texture.StartsWith("<"))
1229 // {
1230 // //here so that we can still work with old format database files (ie from before I added xml serialization)
1231 // LLObject.TextureEntry textureEntry = null;
1232 // textureEntry = new LLObject.TextureEntry(new LLUUID(texture));
1233 // s.TextureEntry = textureEntry.ToBytes();
1234 // }
1235 // else
1236 // {
1237 // TextureBlock textureEntry = TextureBlock.FromXmlString(texture);
1238 // s.TextureEntry = textureEntry.TextureData;
1239 // s.ExtraParams = textureEntry.ExtraParams;
1240 // }
1241
1242 return s; 1226 return s;
1243 } 1227 }
1244 1228