aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteRegionData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs
index 93d9406..cc3ad06 100644
--- a/OpenSim/Data/SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs
@@ -436,8 +436,8 @@ namespace OpenSim.Data.SQLite
436 "[REGION DB]: No shape found for prim in storage, so setting default box shape"); 436 "[REGION DB]: No shape found for prim in storage, so setting default box shape");
437 prim.Shape = PrimitiveBaseShape.Default; 437 prim.Shape = PrimitiveBaseShape.Default;
438 } 438 }
439 group.AddPart(prim); 439
440 group.RootPart = prim; 440 group.SetRootPart(prim);
441 createdObjects.Add(group.UUID, group); 441 createdObjects.Add(group.UUID, group);
442 retvals.Add(group); 442 retvals.Add(group);
443 LoadItems(prim); 443 LoadItems(prim);
@@ -1102,8 +1102,7 @@ namespace OpenSim.Data.SQLite
1102 // sop.TouchName = ""; 1102 // sop.TouchName = "";
1103 // sop.UUID = UUID.Random(); 1103 // sop.UUID = UUID.Random();
1104 // sop.Shape = PrimitiveBaseShape.Default; 1104 // sop.Shape = PrimitiveBaseShape.Default;
1105 // sog.AddPart(sop); 1105 // sog.SetRootPart(sop);
1106 // sog.RootPart = sop;
1107 // Add breakpoint in above line. Check sop fields. 1106 // Add breakpoint in above line. Check sop fields.
1108 1107
1109 // TODO: this doesn't work yet because something more 1108 // TODO: this doesn't work yet because something more