diff options
Diffstat (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite')
-rw-r--r-- | OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index 5bf4551..9118082 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | |||
@@ -1014,7 +1014,11 @@ namespace OpenSim.DataStore.MonoSqlite | |||
1014 | s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); | 1014 | s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); |
1015 | // text TODO: this isn't right] = but I'm not sure the right | 1015 | // text TODO: this isn't right] = but I'm not sure the right |
1016 | // way to specify this as a blob atm | 1016 | // way to specify this as a blob atm |
1017 | s.TextureEntry = (byte[]) row["Texture"]; | 1017 | |
1018 | byte[] textureEntry = (byte[])row["Texture"]; | ||
1019 | s.TextureEntry = textureEntry; | ||
1020 | |||
1021 | |||
1018 | s.ExtraParams = (byte[]) row["ExtraParams"]; | 1022 | s.ExtraParams = (byte[]) row["ExtraParams"]; |
1019 | // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); | 1023 | // System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); |
1020 | // string texture = encoding.GetString((Byte[])row["Texture"]); | 1024 | // string texture = encoding.GetString((Byte[])row["Texture"]); |