aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-31 01:52:06 +0100
committerJustin Clark-Casey (justincc)2012-03-31 01:52:06 +0100
commit32a953fed727fdadd65228b7c9282091da3521ac (patch)
tree014a128df31336fddcb9be1243f3f255f7d30b6f /OpenSim/Region/OptionalModules/World
parentRename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing Con... (diff)
downloadopensim-SC-32a953fed727fdadd65228b7c9282091da3521ac.zip
opensim-SC-32a953fed727fdadd65228b7c9282091da3521ac.tar.gz
opensim-SC-32a953fed727fdadd65228b7c9282091da3521ac.tar.bz2
opensim-SC-32a953fed727fdadd65228b7c9282091da3521ac.tar.xz
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
Diffstat (limited to 'OpenSim/Region/OptionalModules/World')
-rw-r--r--OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs b/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs
index a17eb41..51b0592 100644
--- a/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs
+++ b/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs
@@ -510,7 +510,7 @@ namespace OpenSim.Region.OptionalModules.World.TreePopulator
510 } 510 }
511 511
512 SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape); 512 SceneObjectGroup sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape);
513 SceneObjectPart rootPart = sceneObject.GetChildPart(sceneObject.UUID); 513 SceneObjectPart rootPart = sceneObject.GetPart(sceneObject.UUID);
514 514
515 rootPart.AddFlag(PrimFlags.Phantom); 515 rootPart.AddFlag(PrimFlags.Phantom);
516 516