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/CoreModules | |
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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs index ab8e1bf..f5f35bb 100644 --- a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs +++ b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs | |||
@@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation | |||
79 | } | 79 | } |
80 | 80 | ||
81 | SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape); | 81 | SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape); |
82 | SceneObjectPart rootPart = sceneObject.GetChildPart(sceneObject.UUID); | 82 | SceneObjectPart rootPart = sceneObject.GetPart(sceneObject.UUID); |
83 | 83 | ||
84 | // if grass or tree, make phantom | 84 | // if grass or tree, make phantom |
85 | //rootPart.TrimPermissions(); | 85 | //rootPart.TrimPermissions(); |