aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql1
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs3
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql b/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
index 45a36fa..15f3d9f 100644
--- a/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
+++ b/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
@@ -72,6 +72,7 @@ CREATE TABLE primshapes(UUID varchar(255) primary key,
72 ProfileEnd integer, 72 ProfileEnd integer,
73 ProfileCurve integer, 73 ProfileCurve integer,
74 ProfileHollow integer, 74 ProfileHollow integer,
75 State integer,
75 Texture blob, 76 Texture blob,
76 ExtraParams blob); 77 ExtraParams blob);
77 78
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;