diff options
Diffstat (limited to 'OpenSim/Region/Storage')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs index 39babd6..c917e1e 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs | |||
@@ -656,21 +656,6 @@ namespace OpenSim.DataStore.MSSQL | |||
656 | 656 | ||
657 | 657 | ||
658 | s.ExtraParams = (byte[]) row["ExtraParams"]; | 658 | s.ExtraParams = (byte[]) row["ExtraParams"]; |
659 | // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); | ||
660 | // string texture = encoding.GetString((Byte[])row["Texture"]); | ||
661 | // if (!texture.StartsWith("<")) | ||
662 | // { | ||
663 | // //here so that we can still work with old format database files (ie from before I added xml serialization) | ||
664 | // LLObject.TextureEntry textureEntry = null; | ||
665 | // textureEntry = new LLObject.TextureEntry(new LLUUID(texture)); | ||
666 | // s.TextureEntry = textureEntry.ToBytes(); | ||
667 | // } | ||
668 | // else | ||
669 | // { | ||
670 | // TextureBlock textureEntry = TextureBlock.FromXmlString(texture); | ||
671 | // s.TextureEntry = textureEntry.TextureData; | ||
672 | // s.ExtraParams = textureEntry.ExtraParams; | ||
673 | // } | ||
674 | 659 | ||
675 | return s; | 660 | return s; |
676 | } | 661 | } |