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
parent
ff75ba99a9
commit
8d2d69dc88
|
@ -72,6 +72,7 @@ CREATE TABLE primshapes(UUID varchar(255) primary key,
|
||||||
ProfileEnd integer,
|
ProfileEnd integer,
|
||||||
ProfileCurve integer,
|
ProfileCurve integer,
|
||||||
ProfileHollow integer,
|
ProfileHollow integer,
|
||||||
|
State integer,
|
||||||
Texture blob,
|
Texture blob,
|
||||||
ExtraParams blob);
|
ExtraParams blob);
|
||||||
|
|
||||||
|
|
|
@ -685,6 +685,7 @@ namespace OpenSim.Framework.Data.SQLite
|
||||||
createCol(shapes, "ProfileEnd", typeof (Int32));
|
createCol(shapes, "ProfileEnd", typeof (Int32));
|
||||||
createCol(shapes, "ProfileCurve", typeof (Int32));
|
createCol(shapes, "ProfileCurve", typeof (Int32));
|
||||||
createCol(shapes, "ProfileHollow", 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
|
// text TODO: this isn't right, but I'm not sure the right
|
||||||
// way to specify this as a blob atm
|
// way to specify this as a blob atm
|
||||||
createCol(shapes, "Texture", typeof (Byte[]));
|
createCol(shapes, "Texture", typeof (Byte[]));
|
||||||
|
@ -1170,6 +1171,7 @@ namespace OpenSim.Framework.Data.SQLite
|
||||||
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
|
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
|
||||||
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
|
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
|
||||||
s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
|
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
|
// text TODO: this isn't right] = but I'm not sure the right
|
||||||
// way to specify this as a blob atm
|
// way to specify this as a blob atm
|
||||||
|
|
||||||
|
@ -1227,6 +1229,7 @@ namespace OpenSim.Framework.Data.SQLite
|
||||||
row["ProfileEnd"] = s.ProfileEnd;
|
row["ProfileEnd"] = s.ProfileEnd;
|
||||||
row["ProfileCurve"] = s.ProfileCurve;
|
row["ProfileCurve"] = s.ProfileCurve;
|
||||||
row["ProfileHollow"] = s.ProfileHollow;
|
row["ProfileHollow"] = s.ProfileHollow;
|
||||||
|
row["State"] = s.State;
|
||||||
|
|
||||||
row["Texture"] = s.TextureEntry;
|
row["Texture"] = s.TextureEntry;
|
||||||
row["ExtraParams"] = s.ExtraParams;
|
row["ExtraParams"] = s.ExtraParams;
|
||||||
|
|
Loading…
Reference in New Issue