From 4041194db93c1687c6d9f40744b27b037934ad16 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 14 Aug 2008 21:31:38 +0000 Subject: Refactor: Make the tree creation function take a UUID for the owner Change the tree populator module to supply a sensible value --- OpenSim/Region/Environment/Scenes/Scene.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index b4bb2f6..bd02b7e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1635,10 +1635,9 @@ namespace OpenSim.Region.Environment.Scenes } } - public SceneObjectGroup AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position, + public SceneObjectGroup AddTree(LLUUID uuid, LLVector3 scale, LLQuaternion rotation, LLVector3 position, Tree treeType, bool newTree) { - LLUUID uuid = this.RegionInfo.MasterAvatarAssignedUUID; PrimitiveBaseShape treeShape = new PrimitiveBaseShape(); treeShape.PathCurve = 16; treeShape.PathEnd = 49900; -- cgit v1.1