diff options
author | Justin Clarke Casey | 2008-11-10 20:04:55 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-10 20:04:55 +0000 |
commit | 0e180b0ad30d5f468be1c239865688449b8747cc (patch) | |
tree | 4d442315d268836641cb2b10e6937a0d308bdc18 /OpenSim/Data/MSSQL | |
parent | Removed some debug output I forgot to remove... (diff) | |
download | opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.zip opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.tar.gz opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.tar.bz2 opensim-SC-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 'OpenSim/Data/MSSQL')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index 6f4edd1..3669bdc 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs | |||
@@ -210,8 +210,8 @@ namespace OpenSim.Data.MSSQL | |||
210 | "No shape found for prim in storage, so setting default box shape"); | 210 | "No shape found for prim in storage, so setting default box shape"); |
211 | prim.Shape = PrimitiveBaseShape.Default; | 211 | prim.Shape = PrimitiveBaseShape.Default; |
212 | } | 212 | } |
213 | group.AddPart(prim); | 213 | |
214 | group.RootPart = prim; | 214 | group.SetRootPart(prim); |
215 | 215 | ||
216 | createdObjects.Add(group.UUID, group); | 216 | createdObjects.Add(group.UUID, group); |
217 | retvals.Add(group); | 217 | retvals.Add(group); |