mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
This commit is contained in:
@@ -365,7 +365,7 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
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);
|
||||
@@ -1437,7 +1437,7 @@ namespace OpenSim.Data.MySQL
|
||||
s.ProfileEnd = Convert.ToUInt16(row["ProfileEnd"]);
|
||||
s.ProfileCurve = Convert.ToByte(row["ProfileCurve"]);
|
||||
s.ProfileHollow = Convert.ToUInt16(row["ProfileHollow"]);
|
||||
byte[] textureEntry = (byte[]) row["Texture"];
|
||||
byte[] textureEntry = (byte[]) row["Texture"];
|
||||
s.TextureEntry = textureEntry;
|
||||
|
||||
s.ExtraParams = (byte[]) row["ExtraParams"];
|
||||
|
||||
Reference in New Issue
Block a user