* Fixed implicit .ToString() in shape fetch.

afrisby
Teravus Ovares 2007-12-20 23:34:30 +00:00
parent 97c78ce0fd
commit f1f57ca267
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ namespace OpenSim.Framework.Data.MySQL
{ {
SceneObjectGroup group = new SceneObjectGroup(); SceneObjectGroup group = new SceneObjectGroup();
SceneObjectPart prim = buildPrim(primRow); SceneObjectPart prim = buildPrim(primRow);
DataRow shapeRow = shapes.Rows.Find(prim.UUID); DataRow shapeRow = shapes.Rows.Find(Util.ToRawUuidString(prim.UUID));
if (shapeRow != null) if (shapeRow != null)
{ {
prim.Shape = buildShape(shapeRow); prim.Shape = buildShape(shapeRow);
@ -216,7 +216,7 @@ namespace OpenSim.Framework.Data.MySQL
else else
{ {
SceneObjectPart prim = buildPrim(primRow); SceneObjectPart prim = buildPrim(primRow);
DataRow shapeRow = shapes.Rows.Find(prim.UUID); DataRow shapeRow = shapes.Rows.Find(Util.ToRawUuidString(prim.UUID));
if (shapeRow != null) if (shapeRow != null)
{ {
prim.Shape = buildShape(shapeRow); prim.Shape = buildShape(shapeRow);