diff options
author | Melanie Thielker | 2008-08-14 21:31:38 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-14 21:31:38 +0000 |
commit | 4041194db93c1687c6d9f40744b27b037934ad16 (patch) | |
tree | ac8d01fd86618b93f267cee25cd8e56040b4c5d5 /OpenSim/Region/Environment/Scenes | |
parent | Adds UserFlags and GodLevel to the user data store and plumbs then in. (diff) | |
download | opensim-SC_OLD-4041194db93c1687c6d9f40744b27b037934ad16.zip opensim-SC_OLD-4041194db93c1687c6d9f40744b27b037934ad16.tar.gz opensim-SC_OLD-4041194db93c1687c6d9f40744b27b037934ad16.tar.bz2 opensim-SC_OLD-4041194db93c1687c6d9f40744b27b037934ad16.tar.xz |
Refactor: Make the tree creation function take a UUID for the owner
Change the tree populator module to supply a sensible value
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
1635 | } | 1635 | } |
1636 | } | 1636 | } |
1637 | 1637 | ||
1638 | public SceneObjectGroup AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position, | 1638 | public SceneObjectGroup AddTree(LLUUID uuid, LLVector3 scale, LLQuaternion rotation, LLVector3 position, |
1639 | Tree treeType, bool newTree) | 1639 | Tree treeType, bool newTree) |
1640 | { | 1640 | { |
1641 | LLUUID uuid = this.RegionInfo.MasterAvatarAssignedUUID; | ||
1642 | PrimitiveBaseShape treeShape = new PrimitiveBaseShape(); | 1641 | PrimitiveBaseShape treeShape = new PrimitiveBaseShape(); |
1643 | treeShape.PathCurve = 16; | 1642 | treeShape.PathCurve = 16; |
1644 | treeShape.PathEnd = 49900; | 1643 | treeShape.PathEnd = 49900; |