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

@@ -1015,7 +1015,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroup group = GetGroupByPrim(localID);
if (group == null)
return null;
return group.GetChildPart(localID);
return group.GetPart(localID);
}
/// <summary>
@@ -1062,7 +1062,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroup group = GetGroupByPrim(fullID);
if (group == null)
return null;
return group.GetChildPart(fullID);
return group.GetPart(fullID);
}
/// <summary>