refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.

This commit is contained in:
Justin Clark-Casey (justincc)
2012-03-31 01:52:06 +01:00
parent f0406f9fe2
commit 32a953fed7
7 changed files with 31 additions and 31 deletions

View File

@@ -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);