* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command0.6.2-post-fixes
parent
94d267303f
commit
e64d9b66a9
|
@ -365,7 +365,7 @@ namespace OpenSim.Data.MySQL
|
||||||
|
|
||||||
for (int i = 0; i < uuids.Count; i++)
|
for (int i = 0; i < uuids.Count; i++)
|
||||||
{
|
{
|
||||||
cmd.Parameters.AddWithValue("UUID" + i, uuids[i].ToString());
|
cmd.Parameters.AddWithValue("UUID" + i, Util.ToRawUuidString(uuids[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
ExecuteNonQuery(cmd);
|
ExecuteNonQuery(cmd);
|
||||||
|
@ -1437,7 +1437,7 @@ namespace OpenSim.Data.MySQL
|
||||||
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"]);
|
||||||
byte[] textureEntry = (byte[]) row["Texture"];
|
byte[] textureEntry = (byte[]) row["Texture"];
|
||||||
s.TextureEntry = textureEntry;
|
s.TextureEntry = textureEntry;
|
||||||
|
|
||||||
s.ExtraParams = (byte[]) row["ExtraParams"];
|
s.ExtraParams = (byte[]) row["ExtraParams"];
|
||||||
|
|
Loading…
Reference in New Issue