mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* 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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user