aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-10 20:04:55 +0000
committerJustin Clarke Casey2008-11-10 20:04:55 +0000
commit0e180b0ad30d5f468be1c239865688449b8747cc (patch)
tree4d442315d268836641cb2b10e6937a0d308bdc18 /OpenSim/Data/MySQL
parentRemoved some debug output I forgot to remove... (diff)
downloadopensim-SC_OLD-0e180b0ad30d5f468be1c239865688449b8747cc.zip
opensim-SC_OLD-0e180b0ad30d5f468be1c239865688449b8747cc.tar.gz
opensim-SC_OLD-0e180b0ad30d5f468be1c239865688449b8747cc.tar.bz2
opensim-SC_OLD-0e180b0ad30d5f468be1c239865688449b8747cc.tar.xz
* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting RootPart and adding the part separately
* Make RootPart read only
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index 27bfec8..70940db 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -421,8 +421,8 @@ namespace OpenSim.Data.MySQL
421 "No shape found for prim in storage, so setting default box shape"); 421 "No shape found for prim in storage, so setting default box shape");
422 prim.Shape = PrimitiveBaseShape.Default; 422 prim.Shape = PrimitiveBaseShape.Default;
423 } 423 }
424 group.AddPart(prim); 424
425 group.RootPart = prim; 425 group.SetRootPart(prim);
426 createdObjects.Add(group.UUID, group); 426 createdObjects.Add(group.UUID, group);
427 retvals.Add(group); 427 retvals.Add(group);
428 LoadItems(prim); 428 LoadItems(prim);