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/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs | |
parent | Removed some debug output I forgot to remove... (diff) | |
download | opensim-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/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs index bf7d944..5db9545 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/PointMetaEntity.cs | |||
@@ -104,11 +104,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement | |||
104 | 104 | ||
105 | //Initialize group and add part as root part | 105 | //Initialize group and add part as root part |
106 | x.SetScene(scene); | 106 | x.SetScene(scene); |
107 | y.SetParent(x); | 107 | x.SetRootPart(y); |
108 | y.ParentID = 0; | ||
109 | y.LinkNum = 0; | ||
110 | x.Children.Add(y.UUID, y); | ||
111 | x.RootPart = y; | ||
112 | x.RegionHandle = scene.RegionInfo.RegionHandle; | 108 | x.RegionHandle = scene.RegionInfo.RegionHandle; |
113 | x.SetScene(scene); | 109 | x.SetScene(scene); |
114 | 110 | ||