diff options
author | Justin Clark-Casey (justincc) | 2012-03-31 01:52:06 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-31 01:52:06 +0100 |
commit | 32a953fed727fdadd65228b7c9282091da3521ac (patch) | |
tree | 014a128df31336fddcb9be1243f3f255f7d30b6f /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing Con... (diff) | |
download | opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.zip opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.gz opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.bz2 opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.xz |
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index cd1366c..8a05772 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -1015,7 +1015,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1015 | SceneObjectGroup group = GetGroupByPrim(localID); | 1015 | SceneObjectGroup group = GetGroupByPrim(localID); |
1016 | if (group == null) | 1016 | if (group == null) |
1017 | return null; | 1017 | return null; |
1018 | return group.GetChildPart(localID); | 1018 | return group.GetPart(localID); |
1019 | } | 1019 | } |
1020 | 1020 | ||
1021 | /// <summary> | 1021 | /// <summary> |
@@ -1062,7 +1062,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1062 | SceneObjectGroup group = GetGroupByPrim(fullID); | 1062 | SceneObjectGroup group = GetGroupByPrim(fullID); |
1063 | if (group == null) | 1063 | if (group == null) |
1064 | return null; | 1064 | return null; |
1065 | return group.GetChildPart(fullID); | 1065 | return group.GetPart(fullID); |
1066 | } | 1066 | } |
1067 | 1067 | ||
1068 | /// <summary> | 1068 | /// <summary> |