mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
This commit is contained in:
@@ -510,7 +510,7 @@ namespace OpenSim.Region.OptionalModules.World.TreePopulator
|
||||
}
|
||||
|
||||
SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape);
|
||||
SceneObjectPart rootPart = sceneObject.GetChildPart(sceneObject.UUID);
|
||||
SceneObjectPart rootPart = sceneObject.GetPart(sceneObject.UUID);
|
||||
|
||||
rootPart.AddFlag(PrimFlags.Phantom);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user