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 :-)
0.6.0-stable
Charles Krinke 2008-03-08 22:52:17 +00:00
parent ff75ba99a9
commit 8d2d69dc88
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,7 @@ CREATE TABLE primshapes(UUID varchar(255) primary key,
ProfileEnd integer,
ProfileCurve integer,
ProfileHollow integer,
State integer,
Texture blob,
ExtraParams blob);

View File

@ -685,6 +685,7 @@ namespace OpenSim.Framework.Data.SQLite
createCol(shapes, "ProfileEnd", typeof (Int32));
createCol(shapes, "ProfileCurve", typeof (Int32));
createCol(shapes, "ProfileHollow", typeof (Int32));
createCol(shapes, "State", typeof(Int32));
// text TODO: this isn't right, but I'm not sure the right
// way to specify this as a blob atm
createCol(shapes, "Texture", typeof (Byte[]));
@ -1170,6 +1171,7 @@ namespace OpenSim.Framework.Data.SQLite
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
s.State = Convert.ToByte(row["State"]);
// text TODO: this isn't right] = but I'm not sure the right
// way to specify this as a blob atm
@ -1227,6 +1229,7 @@ namespace OpenSim.Framework.Data.SQLite
row["ProfileEnd"] = s.ProfileEnd;
row["ProfileCurve"] = s.ProfileCurve;
row["ProfileHollow"] = s.ProfileHollow;
row["State"] = s.State;
row["Texture"] = s.TextureEntry;
row["ExtraParams"] = s.ExtraParams;