diff options
author | Charles Krinke | 2008-03-08 22:52:17 +0000 |
---|---|---|
committer | Charles Krinke | 2008-03-08 22:52:17 +0000 |
commit | 8d2d69dc887abfc30a0bdd8fcbd4792d6add8409 (patch) | |
tree | e6282df070f3e8d5cb87007350333556d4bcfcb0 /OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs | |
parent | Thank you very much, Ldviopeng for : (diff) | |
download | opensim-SC_OLD-8d2d69dc887abfc30a0bdd8fcbd4792d6add8409.zip opensim-SC_OLD-8d2d69dc887abfc30a0bdd8fcbd4792d6add8409.tar.gz opensim-SC_OLD-8d2d69dc887abfc30a0bdd8fcbd4792d6add8409.tar.bz2 opensim-SC_OLD-8d2d69dc887abfc30a0bdd8fcbd4792d6add8409.tar.xz |
Thank you kindly Grumly57 for a patch to solve:
Grass type is not persisted. Try to rez some grass several time to have different random grass types around, then immediately move a couple of them. Or restart the sim and logon again. You'll see all grass types reverted to a dull default one :-)
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; |