From 8dda11d17e7380abb3acfd7beaadc87db759aa3e Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Sat, 22 Sep 2007 18:41:01 +0000 Subject: [PATCH] fix to do hollow prims correctly. Reported from http://bug.opensecondlife.org/view.php?id=394 --- .../Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs index b6771c70fc..a0d2399aca 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MonoSqlite/MonoSqliteDataStore.cs @@ -478,7 +478,7 @@ namespace OpenSim.DataStore.MonoSqlite s.ProfileBegin = Convert.ToUInt16(row["ProfileBegin"]); s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]); s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]); - s.ProfileHollow = Convert.ToByte(row["ProfileHollow"]); + s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); // text TODO: this isn't right] = but I'm not sure the right // way to specify this as a blob atm s.TextureEntry = (byte[])row["Texture"];