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

@@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation
}
SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape);
SceneObjectPart rootPart = sceneObject.GetChildPart(sceneObject.UUID);
SceneObjectPart rootPart = sceneObject.GetPart(sceneObject.UUID);
// if grass or tree, make phantom
//rootPart.TrimPermissions();