diff options
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs index ce9a3ef..d41dd55 100644 --- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs +++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | |||
@@ -685,6 +685,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
685 | createCol(shapes, "ProfileEnd", typeof (Int32)); | 685 | createCol(shapes, "ProfileEnd", typeof (Int32)); |
686 | createCol(shapes, "ProfileCurve", typeof (Int32)); | 686 | createCol(shapes, "ProfileCurve", typeof (Int32)); |
687 | createCol(shapes, "ProfileHollow", typeof (Int32)); | 687 | createCol(shapes, "ProfileHollow", typeof (Int32)); |
688 | createCol(shapes, "State", typeof(Int32)); | ||
688 | // text TODO: this isn't right, but I'm not sure the right | 689 | // text TODO: this isn't right, but I'm not sure the right |
689 | // way to specify this as a blob atm | 690 | // way to specify this as a blob atm |
690 | createCol(shapes, "Texture", typeof (Byte[])); | 691 | createCol(shapes, "Texture", typeof (Byte[])); |
@@ -1170,6 +1171,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
1170 | s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]); | 1171 | s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]); |
1171 | s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]); | 1172 | s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]); |
1172 | s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); | 1173 | s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]); |
1174 | s.State = Convert.ToByte(row["State"]); | ||
1173 | // text TODO: this isn't right] = but I'm not sure the right | 1175 | // text TODO: this isn't right] = but I'm not sure the right |
1174 | // way to specify this as a blob atm | 1176 | // way to specify this as a blob atm |
1175 | 1177 | ||
@@ -1227,6 +1229,7 @@ namespace OpenSim.Framework.Data.SQLite | |||
1227 | row["ProfileEnd"] = s.ProfileEnd; | 1229 | row["ProfileEnd"] = s.ProfileEnd; |
1228 | row["ProfileCurve"] = s.ProfileCurve; | 1230 | row["ProfileCurve"] = s.ProfileCurve; |
1229 | row["ProfileHollow"] = s.ProfileHollow; | 1231 | row["ProfileHollow"] = s.ProfileHollow; |
1232 | row["State"] = s.State; | ||
1230 | 1233 | ||
1231 | row["Texture"] = s.TextureEntry; | 1234 | row["Texture"] = s.TextureEntry; |
1232 | row["ExtraParams"] = s.ExtraParams; | 1235 | row["ExtraParams"] = s.ExtraParams; |