* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting RootPart and adding the part separately

* Make RootPart read only
This commit is contained in:
Justin Clarke Casey
2008-11-10 20:04:55 +00:00
parent 014eb26426
commit 0e180b0ad3
9 changed files with 19 additions and 29 deletions

View File

@@ -104,11 +104,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
//Initialize group and add part as root part
x.SetScene(scene);
y.SetParent(x);
y.ParentID = 0;
y.LinkNum = 0;
x.Children.Add(y.UUID, y);
x.RootPart = y;
x.SetRootPart(y);
x.RegionHandle = scene.RegionInfo.RegionHandle;
x.SetScene(scene);