mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user