diff options
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs index b80dde8..cdebac8 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs | |||
@@ -196,7 +196,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
196 | { | 196 | { |
197 | SceneObjectGroup group = new SceneObjectGroup(); | 197 | SceneObjectGroup group = new SceneObjectGroup(); |
198 | SceneObjectPart prim = buildPrim(primRow); | 198 | SceneObjectPart prim = buildPrim(primRow); |
199 | DataRow shapeRow = shapes.Rows.Find(prim.UUID); | 199 | DataRow shapeRow = shapes.Rows.Find(Util.ToRawUuidString(prim.UUID)); |
200 | if (shapeRow != null) | 200 | if (shapeRow != null) |
201 | { | 201 | { |
202 | prim.Shape = buildShape(shapeRow); | 202 | prim.Shape = buildShape(shapeRow); |
@@ -216,7 +216,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
216 | else | 216 | else |
217 | { | 217 | { |
218 | SceneObjectPart prim = buildPrim(primRow); | 218 | SceneObjectPart prim = buildPrim(primRow); |
219 | DataRow shapeRow = shapes.Rows.Find(prim.UUID); | 219 | DataRow shapeRow = shapes.Rows.Find(Util.ToRawUuidString(prim.UUID)); |
220 | if (shapeRow != null) | 220 | if (shapeRow != null) |
221 | { | 221 | { |
222 | prim.Shape = buildShape(shapeRow); | 222 | prim.Shape = buildShape(shapeRow); |